随笔分类 -  Unity3D代码笔记

摘要:get_enabled can only be called from the main thread 阅读全文
posted @ 2017-02-24 10:16 尚菜 阅读(917) 评论(0) 推荐(0)
摘要:1.点击屏幕有个手印效果 阅读全文
posted @ 2017-01-16 09:53 尚菜 阅读(378) 评论(0) 推荐(0)
摘要:由于项目的需要,需要作出计算两点间的最短行走路径的算法 来来回回弄了几天 总算做出来了参考:http://www.cnblogs.com/hanchan/archive/2009/09/23/1572509.htmlusing UnityEngine;using System.Collections... 阅读全文
posted @ 2015-12-14 12:21 尚菜 阅读(555) 评论(0) 推荐(0)
摘要://----------------------------------------------// NGUI: Next-Gen UI kit// Copyright © 2011-2015 Tasharen Entertainment//------------------... 阅读全文
posted @ 2015-10-14 10:55 尚菜 阅读(1222) 评论(0) 推荐(0)
摘要:先上结果:using UnityEngine;using System.Collections;using System.Collections.Generic;public class SudokuGame { public List items ; public void Init()... 阅读全文
posted @ 2015-10-13 17:12 尚菜 阅读(349) 评论(0) 推荐(0)
摘要:基本情况:熟悉NGUI没接触过UGUI目标:熟练掌握UGUI,并用在实际项目中一在网上寻找视频教程,快速了解UGUIhttp://www.taikr.com/course/89不错的视频,用来做入门不错二在宣雨松的UGUI栏目中各种文章,在实际项目中会有相当大的参考性http://www.xuany... 阅读全文
posted @ 2015-04-23 10:19 尚菜 阅读(270) 评论(0) 推荐(0)
摘要:public class FFFTestView : MonoBehaviour { // Use this for initialization void Start () { TestManage.instance.load("AA"); TestMana... 阅读全文
posted @ 2015-02-27 11:53 尚菜
摘要:/// /// UI 等比缩放 /// static private void AdaptiveUI() { int ManualWidth = 960; int ManualHeight = 540; UIRoot u... 阅读全文
posted @ 2015-02-27 10:35 尚菜
摘要:屏幕保持唤醒http://www.cnblogs.com/king_dy/archive/2010/11/11/1888134.html 阅读全文
posted @ 2015-01-20 11:42 尚菜 阅读(103) 评论(0) 推荐(0)
摘要:void OnApplicationFocus( bool isFocus ) {// Debug.Log("--------OnApplicationPause---" + isFocus); if( isFocus ) { ... 阅读全文
posted @ 2014-12-02 19:56 尚菜 阅读(10203) 评论(0) 推荐(0)
摘要:Debug.Log(DateTime.Now); Debug.Log(DateTime.Now.AddDays(1)); DateTime dt = new DateTime(DateTime.Now.Year , DateTime.Now.Month, ... 阅读全文
posted @ 2014-11-25 16:09 尚菜 阅读(226) 评论(0) 推荐(0)
摘要:using UnityEngine;using System.Collections;public class s2 : MonoBehaviour { // Use this for initialization void Start () { AController a... 阅读全文
posted @ 2014-11-20 18:13 尚菜 阅读(125) 评论(0) 推荐(0)
摘要:package com.union.matchfighter; import android.app.Notification;import android.app.NotificationManager;import android.app.PendingIntent;import android... 阅读全文
posted @ 2014-10-23 17:20 尚菜 阅读(490) 评论(0) 推荐(0)