摘要:
public class DebugConsole : MonoBehaviour { //#if USE_DEBUGCONSOLE public GameObject DebugGui = null; // The GUI that will be duplicated public Vector3 defaultGuiPosition... 阅读全文
摘要:
using System; public class Singleton where T : class, new() { private static readonly T s_Instance; static Singleton() { s_Instance = Activator.CreateInstance(); } publ... 阅读全文