示例#1
0
        private void Start()
        {
            Manager = new NavStateManager();
            Manager.Initialize(NavStateMachine, CreateContext(Manager));

            s_spaces.Add(this);
        }
 public NavStateContext(NavStateManager manager, bool enableDebugLogging)
 {
     Manager = manager;
     m_enableDebugLogging = enableDebugLogging;
 }
示例#3
0
 protected virtual NavStateContext CreateContext(NavStateManager manager)
 {
     return(new NavStateContext(manager, EnableDebugLogging));
 }