Inheritance: UnityEngine.MonoBehaviour
Example #1
0
        public static void Init(BlockDB obj)
        {
            if (_ != null)
            {
                Debug.Assert(false, "trying to Init again.");
                return;
            }

            _ = obj;
            _.Init();
        }
        public static void Init(BlockDB obj)
        {
            if (_ != null)
            {
                Debug.Assert(false, "trying to Init again.");
                return;
            }

            _ = obj;
            _.Init();
        }
Example #3
0
        void Init()
        {
            if (_init)
            {
                return;
            }

            _init = true;
            DB.Init(_db);
            LevelDB.Init(_levelDB);
            BlockDB.Init(_blockDB);
        }