示例#1
0
    public static JSonIO Instance(JSonUtilType jSonUtilType = JSonUtilType.JsonUtility)
    {
        if (instance == null)
        {
            instance = SingletonProperty <JSonIO> .Instance();

            instance.jSonUtilType = jSonUtilType;
        }

        return(instance);
    }
示例#2
0
        public static GMModule Instance()
        {
            if (instance == null)
            {
                instance = SingletonProperty <GMModule> .Instance();

                instance.Init();
            }

            return(instance);
        }
示例#3
0
 public virtual void Dispose()
 {
     SingletonProperty <T> .Dispose();
 }
示例#4
0
 public void Dispose()
 {
     SingletonProperty <SafeObjectPool <T> > .Dispose();
 }
示例#5
0
 protected override void OnDispose()
 {
     base.OnDispose();
     SingletonProperty <Singleton> .Dispose();
 }
示例#6
0
 public void Dispose()
 {
     SingletonProperty <ObjManager> .Dispose();
 }
示例#7
0
 public static T Instance()
 {
     return(SingletonProperty <T> .Instance());
 }