Files
BH3/Assets/Scripts/Assembly-CSharp/MoleMole/SharedEntity.cs
2025-08-13 09:26:42 +08:00

20 lines
425 B
C#

using BehaviorDesigner.Runtime;
namespace MoleMole
{
public class SharedEntity : SharedVariable<BaseMonoEntity>
{
public override string ToString()
{
return (!(mValue != null)) ? "<null entity>" : mValue.gameObject.name;
}
public static implicit operator SharedEntity(BaseMonoEntity value)
{
SharedEntity sharedEntity = new SharedEntity();
sharedEntity.mValue = value;
return sharedEntity;
}
}
}