private void Awake() { Instance = this; Implementation = (IRocketImplementation)GetComponent(typeof(IRocketImplementation)); #if DEBUG gameObject.TryAddComponent<Debugger>(); #else Initialize(); #endif }
private void Awake() { Instance = this; Implementation = (IRocketImplementation)GetComponent(typeof(IRocketImplementation)); #if DEBUG gameObject.TryAddComponent <Debugger>(); #else Initialize(); #endif }