上一页 1 ··· 4 5 6 7 8 9 下一页
  2016年8月26日
摘要: using UnityEngine;using System.Collections.Generic; public class TestAStar : MonoBehaviour{ //以点为方格 //A点 [1,2] B点[6,7] private List<float[,]> parentPo 阅读全文
posted @ 2016-08-26 10:48 tianjiuwan 阅读(185) 评论(0) 推荐(0) 编辑
  2016年8月19日
摘要: using UnityEngine;using System.Collections; #region 全局委托 public delegate void MessageEvent(Message message); #endregion #region 全局枚举//panel Typepublic 阅读全文
posted @ 2016-08-19 09:31 tianjiuwan 阅读(248) 评论(0) 推荐(0) 编辑
  2016年8月18日
摘要: using UnityEngine;using System.Collections; //单例模式 public class Singleton<T> where T : class, new(){ protected static T _instance = null; public stati 阅读全文
posted @ 2016-08-18 19:59 tianjiuwan 阅读(124) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;using System.Collections.Generic; public class MessageCenter : Singleton<MessageCenter>{ private Dictionary 阅读全文
posted @ 2016-08-18 19:58 tianjiuwan 阅读(249) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;using System.Collections.Generic;using System;/* 消息体 直接遍历 key访问 message[key] send() remove() add() 构造函数参数=》 阅读全文
posted @ 2016-08-18 19:57 tianjiuwan 阅读(227) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;using System.Collections.Generic; public class UIManager : Singleton<UIManager>{ //UI gameobjects public Di 阅读全文
posted @ 2016-08-18 19:56 tianjiuwan 阅读(220) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections; public abstract class BasePanel : MonoBehaviour{ //panel State protected E_PanelState _panelState; public 阅读全文
posted @ 2016-08-18 19:55 tianjiuwan 阅读(209) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections; public abstract class BaseUI : MonoBehaviour{ //缓存 gameobject 和 transform private GameObject _cacheGameObj 阅读全文
posted @ 2016-08-18 19:53 tianjiuwan 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Shader "Custom/CullImage" {Properties{[PerRendererData] _MainTex("Sprite Texture", 2D) = "white" {}_Color("Tint", Color) = (1,1,1,1)_StencilComp("Sten 阅读全文
posted @ 2016-08-18 19:50 tianjiuwan 阅读(1583) 评论(0) 推荐(0) 编辑
摘要: Shader "Custom/UVanim" {Properties{_Color("Color", Color) = (1,1,1,1)_MainTex("Albedo (RGB)", 2D) = "white" {}_Glossiness("Smoothness", Range(0,1)) = 阅读全文
posted @ 2016-08-18 19:49 tianjiuwan 阅读(188) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页