示例#1
0
    public static GameObject GetWeaponByHand(GameObject target, WeaponHand hand)
    {
        WeaponControl control = target.GetComponent <WeaponControl>();

        if (control == null)
        {
            LogicSystem.GfxLog("ShooterSkillExecutor WeaponControl Script miss!");
            return(null);
        }
        return(control.GetWeaponByHand(hand));
    }