摘要:
using UnityEngine; using System.Collections; using UnityEditor; [CustomEditor( typeof( MessageLog ) )] public class MessageLogEditor : Editor { public override void OnInspectorGUI() { Me... 阅读全文
posted @ 2017-03-08 14:25
Mr. Oy
阅读(2533)评论(0)推荐(0)
摘要:
1、非Mono单例: 1 using System; 2 using System.Reflection; 3 using System.Collections.Generic; 4 5 public static class Singleton where T : class 6 { 7 ... 阅读全文
posted @ 2015-07-28 11:39
Mr. Oy
阅读(281)评论(0)推荐(0)