随笔分类 - Unity3D代码笔记
摘要:get_enabled can only be called from the main thread
阅读全文
摘要:由于项目的需要,需要作出计算两点间的最短行走路径的算法 来来回回弄了几天 总算做出来了参考:http://www.cnblogs.com/hanchan/archive/2009/09/23/1572509.htmlusing UnityEngine;using System.Collections...
阅读全文
摘要://----------------------------------------------// NGUI: Next-Gen UI kit// Copyright © 2011-2015 Tasharen Entertainment//------------------...
阅读全文
摘要:先上结果:using UnityEngine;using System.Collections;using System.Collections.Generic;public class SudokuGame { public List items ; public void Init()...
阅读全文
摘要:基本情况:熟悉NGUI没接触过UGUI目标:熟练掌握UGUI,并用在实际项目中一在网上寻找视频教程,快速了解UGUIhttp://www.taikr.com/course/89不错的视频,用来做入门不错二在宣雨松的UGUI栏目中各种文章,在实际项目中会有相当大的参考性http://www.xuany...
阅读全文
摘要: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
阅读全文
摘要:void OnApplicationFocus( bool isFocus ) {// Debug.Log("--------OnApplicationPause---" + isFocus); if( isFocus ) { ...
阅读全文
摘要:Debug.Log(DateTime.Now); Debug.Log(DateTime.Now.AddDays(1)); DateTime dt = new DateTime(DateTime.Now.Year , DateTime.Now.Month, ...
阅读全文
摘要:using UnityEngine;using System.Collections;public class s2 : MonoBehaviour { // Use this for initialization void Start () { AController a...
阅读全文
摘要:package com.union.matchfighter; import android.app.Notification;import android.app.NotificationManager;import android.app.PendingIntent;import android...
阅读全文
浙公网安备 33010602011771号