コード例 #1
0
ファイル: ChangeManager.cs プロジェクト: estrela530/sakushi
 // Update is called once per frame
 void Update()
 {
     //内外どっちを回すかの変更
     if (Input.GetKeyDown(KeyCode.W))
     {
         modeManager.ChangeInOut();
     }
 }
コード例 #2
0
    // Update is called once per frame
    void Update()
    {
        if (Input.GetKeyDown(KeyCode.A))
        {
            outRotate.enabled = !outRotate.enabled;
            inRotate.enabled  = !inRotate.enabled;

            modeManager.ChangeInOut();
        }
    }