コード例 #1
0
        protected override void _StartAction(RPGCharacterController controller, EmptyContext context)
        {
            int attackNumber = 1;

            if (controller.rightWeapon == (int)Weapon.Rifle && controller.isHipShooting)
            {
                attackNumber = 2;
            }
            controller.Shoot(attackNumber);
        }