예제 #1
0
    private void Update()
    {
        if (_camAnim.isCharacterSelection)
        {
            for (int i = 0; i < Navigation.RInputs.Count; ++i)
            {
                Rewired.Player RInput = Navigation.RInputs[i];

                if (RInput.GetButtonDown("Flare"))
                {
                    Debug.Log(i);
                    _camAnim.changecamera();
                }
                else if (RInput.GetButtonDown(("Interact")))
                {
                    _camAnim.LoadLevel();
                }
            }
        }
    }