Files
FueraDeEscala/Assets/Game Kit Controller/Scripts/Combat System/Melee Combat System/meleeWeaponAttackListInfoSocket.cs
Robii Aragon 779f2c8b20 add ckg
plantilla base para movimiento básico
2026-02-05 05:07:55 -08:00

28 lines
1.0 KiB
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class meleeWeaponAttackListInfoSocket : MonoBehaviour
{
public meleeWeaponAttackInfo mainMeleeWeaponAttackInfo;
public grabPhysicalObjectMeleeAttackSystem mainGrabPhysicalObjectMeleeAttackSystem;
public void copyWeaponInfoToTemplate (bool settingInfoOnEditorTime)
{
if (mainGrabPhysicalObjectMeleeAttackSystem != null) {
mainGrabPhysicalObjectMeleeAttackSystem.setNewMeleeWeaponAttackInfoTemplate (mainMeleeWeaponAttackInfo, settingInfoOnEditorTime);
mainGrabPhysicalObjectMeleeAttackSystem.copyWeaponInfoToTemplate (settingInfoOnEditorTime);
}
}
public void copyTemplateToWeaponAttackInfo (bool settingInfoOnEditorTime)
{
if (mainGrabPhysicalObjectMeleeAttackSystem != null) {
mainGrabPhysicalObjectMeleeAttackSystem.setNewMeleeWeaponAttackInfoTemplate (mainMeleeWeaponAttackInfo, settingInfoOnEditorTime);
mainGrabPhysicalObjectMeleeAttackSystem.copyTemplateToWeaponAttackInfo (settingInfoOnEditorTime);
}
}
}