コード例 #1
0
    private void FixedUpdate()
    {
        if (Input.GetKeyDown(KeyCode.Alpha1))
        {
            player.ReleaseSkill(0);
        }

        if (Input.GetKeyDown(KeyCode.Alpha2))
        {
            player.ReleaseSkill(1);
        }

        if (Input.GetKeyDown(KeyCode.Alpha3))
        {
            player.ReleaseSkill(2);
        }
    }