mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-18 17:34:45 +01:00
21 lines
469 B
C#
21 lines
469 B
C#
using System;
|
|
|
|
namespace BehaviorDesigner.Runtime
|
|
{
|
|
[Serializable]
|
|
public class SharedNamedVariable : SharedVariable<NamedVariable>
|
|
{
|
|
public override string ToString()
|
|
{
|
|
return (mValue != null) ? mValue.ToString() : "null";
|
|
}
|
|
|
|
public static implicit operator SharedNamedVariable(NamedVariable value)
|
|
{
|
|
SharedNamedVariable sharedNamedVariable = new SharedNamedVariable();
|
|
sharedNamedVariable.mValue = value;
|
|
return sharedNamedVariable;
|
|
}
|
|
}
|
|
}
|