Пример #1
0
        private void Awake()
        {
            Instance = this;
            Implementation = (IRocketImplementation)GetComponent(typeof(IRocketImplementation));

            #if DEBUG
                gameObject.TryAddComponent<Debugger>();
            #else
                Initialize();
            #endif
        }
Пример #2
0
        private void Awake()
        {
            Instance       = this;
            Implementation = (IRocketImplementation)GetComponent(typeof(IRocketImplementation));

            #if DEBUG
            gameObject.TryAddComponent <Debugger>();
            #else
            Initialize();
            #endif
        }