public static SkillWeaponInfo GetCurWeaponInfo(GameObject target, MasterWeaponType masterType = MasterWeaponType.Master) { WeaponControl control = target.GetComponent <WeaponControl>(); if (control == null) { LogicSystem.GfxLog("ShooterSkillExecutor WeaponControl Script miss!"); return(null); } return(control.GetCurMainWeaponInfo(masterType)); }