public static void SwitchNextWeapon(GameObject target) { WeaponControl control = target.GetComponent <WeaponControl>(); if (control == null) { LogicSystem.GfxLog("SwitchWeapon WeaponControl Script miss!"); return; } control.SwitchNextWeapon(); }
public static void SwitchNextWeapon(GameObject target) { WeaponControl control = target.GetComponent <WeaponControl>(); if (control == null) { LogicSystem.GfxLog("SwitchWeapon WeaponControl Script miss!"); return; } control.SwitchNextWeapon(); }