void Start() { SoundManager.Instance.Init(true, true); KeyboardInputManager.Instance.Init(); DebugConsole.Instance.Init(); DebugConsole.AddVarToWatch("Index", this, "i"); KeyboardInputManager.SubscribeToEvent(KeyCode.Space, KeyEventType.OnPressed, Play3DOneShot); //KeyboardInputManager.SubscribeToEvent(KeyCode.W, KeyEventType.OnPressed, Play3DOneShot); //KeyboardInputManager.SubscribeToEvent(KeyCode.W, KeyEventType.OnReleased, DebugTest); }