2024-12-04 17:26:27 +08:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
2024-12-07 22:30:19 +08:00
|
|
|
/// <summary>
|
|
|
|
/// 玩家战斗预制体资源
|
|
|
|
/// </summary>
|
2024-12-04 17:26:27 +08:00
|
|
|
public class PlayerItem : MonoBehaviour
|
|
|
|
{
|
2024-12-07 22:30:19 +08:00
|
|
|
private BattleEquipment _battleEquipment;
|
2024-12-04 17:26:27 +08:00
|
|
|
|
2024-12-07 22:30:19 +08:00
|
|
|
public void SetData(BattleEquipment battleData)
|
2024-12-04 17:26:27 +08:00
|
|
|
{
|
2024-12-07 22:30:19 +08:00
|
|
|
_battleEquipment = battleData;
|
2024-12-04 17:26:27 +08:00
|
|
|
}
|
|
|
|
}
|