private static void TryInitSingleton()
 {
     if (mSingleton == null)
     {
         GameObject go = new GameObject("PersistentDataCoroWriter");
         mSingleton = go.AddComponent <PersistentDataCoroWriter>();
     }
 }
Example #2
0
    private static void TryInitSingleton()
    {
        if (mSingleton == null)
        {
            GameObject go = new GameObject("PersistentDataCoroWriter");
            mSingleton = go.AddComponent<PersistentDataCoroWriter>();

        }
    }