예제 #1
0
    public static void SwitchNextWeapon(GameObject target)
    {
        WeaponControl control = target.GetComponent <WeaponControl>();

        if (control == null)
        {
            LogicSystem.GfxLog("SwitchWeapon WeaponControl Script miss!");
            return;
        }
        control.SwitchNextWeapon();
    }