切换主武器
This commit is contained in:
@@ -36,11 +36,11 @@ namespace Cielonos.MainGame.Inventory
|
||||
{
|
||||
private CharacterBase character => owner.owner.player;
|
||||
|
||||
public ItemFunctionUnit data;
|
||||
public FunctionData.FunctionUnit data;
|
||||
public float currentCooldown;
|
||||
public float maxCooldown;
|
||||
|
||||
public RuntimeFunctionUnit(FunctionSubmodule owner, ItemFunctionUnit data) : base(owner)
|
||||
public RuntimeFunctionUnit(FunctionSubmodule owner, FunctionData.FunctionUnit data) : base(owner)
|
||||
{
|
||||
this.data = data;
|
||||
maxCooldown = data.interval;
|
||||
|
||||
Reference in New Issue
Block a user