/** * @brief 무기 전환 */ public void SwapAtkWeapon() { if (currentAtkWeapon.Equals(bladeWeapon)) { SetMagicWeapon(); } else { SetBladeWeapon(); } }
/** * @brief 전투모드 / 일반 모드 전환 */ public void TurnAtkWeapon() { if (currentWeapon.Equals(cube)) { StartCoroutine(EnableWeapon(currentAtkWeapon)); } else { StartCoroutine(EnableWeapon(cube)); } }