コード例 #1
0
    public override void DelusionContent()
    {
        //Debug.Log("NotifyInvertedInputs with bool true");
        // Notify all event listeners in the game logic controller
        // to utilize inverted controls.
        _glc.NotifyInvertedInputs(true);

        // Start camera shakes
        StartCoroutine(_cs.Shake(Duration, 0.05f));
    }
コード例 #2
0
ファイル: Sandbox.cs プロジェクト: FlorianKordon/gameJam2018
 // Update is called once per frame
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.K))
     {
         _glc.NotifyInvertedInputs(true);
     }
     if (Input.GetKeyDown(KeyCode.L))
     {
         _glc.NotifyInvertedInputs(false);
     }
 }