Ejemplo n.º 1
0
        public virtual void Init()
        {
            MapAllSystemsComponents();

            DebugMainFrameCallback.ObserveOnMainThread().Subscribe(OnDebugCallbackCalled);

            DontDestroyOnLoad(this);
        }
Ejemplo n.º 2
0
        public virtual void Init()
        {
            _systems.Initialize();

            DontDestroyOnLoad(this);

            DebugMainFrameCallback.ObserveOnMainThread()
            .Subscribe(OnDebugCallbackCalled);
        }