摘要: marqueeText = (MarqueeText) this.findViewById(R.id.marqueeText); //设置跑马灯内容marqueeText.setMyContext("我是跑马灯内容"); //setL2r设置方向,默认为从左向右;marqueeText.setL2r 阅读全文
posted @ 2019-08-09 19:15 水至清明 阅读(101) 评论(0) 推荐(0) 编辑
摘要: @Overrideprotected void onPause() { super.onPause(); stop();} @Overrideprotected void onResume() { super.onResume(); start();} @Overrideprotected void 阅读全文
posted @ 2019-08-09 19:15 水至清明 阅读(159) 评论(0) 推荐(0) 编辑
摘要: package com.example.administrator.myapplication; import android.content.Context;import android.graphics.Canvas;import android.util.AttributeSet;import 阅读全文
posted @ 2019-08-09 19:14 水至清明 阅读(466) 评论(0) 推荐(0) 编辑
摘要: 1.我图中采用的模型是使用单模型多材质球,所以只展示了一个身体,单模型但材质直接赋值材质球就好,如果是单模型多材质的需要多创建几个材质球,因为每一部分的发现切图和Albedo图是不一样的。2.这里就不展示Demo了,东西比较简单,感兴趣的可以研究一下这个插件Amplify Shader Editor 阅读全文
posted @ 2019-08-09 19:13 水至清明 阅读(291) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections; //Add this script to the platform you want to move.//左右移动的平台public class MovingPlatform : MonoBehaviour { 阅读全文
posted @ 2019-08-09 19:12 水至清明 阅读(5059) 评论(0) 推荐(0) 编辑
摘要: api.js const bugs = require('../model/db').bugs;const ideas = require('../model/db').ideas;const express = require('express');const router = express.R 阅读全文
posted @ 2019-08-09 09:58 水至清明 阅读(213) 评论(0) 推荐(0) 编辑
摘要: db.js const mongoose = require('mongoose');mongoose.connect('mongodb://用户xxxx:密码xxxxx@连接xxxxxx:端口xxxxx/数据库名xxxxx', {useNewUrlParser:true});mongoose.se 阅读全文
posted @ 2019-08-09 09:58 水至清明 阅读(800) 评论(0) 推荐(0) 编辑
摘要: app.js import Vue from 'vue'import App from './App.vue' import ElementUI from "element-ui";import 'element-ui/lib/theme-chalk/index.css';Vue.use(Eleme 阅读全文
posted @ 2019-08-09 09:58 水至清明 阅读(229) 评论(0) 推荐(0) 编辑
摘要: template.html <!DOCTYPE html><html><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0"> <link href="htt 阅读全文
posted @ 2019-08-09 09:57 水至清明 阅读(167) 评论(0) 推荐(0) 编辑
摘要: App.vue <template> <div id="app" class="app"> <div class="heard" id="heard"> <h1>部门统计</h1> </div> <div id="Statistics"> <div id="heard3"> <h4>统计项</h4> 阅读全文
posted @ 2019-08-09 09:57 水至清明 阅读(3857) 评论(0) 推荐(0) 编辑