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; }
protected virtual NavStateContext CreateContext(NavStateManager manager) { return(new NavStateContext(manager, EnableDebugLogging)); }