mostlyhuman
Member
Is this possible? I took a stab at it but cant get the syntax correct.
C#:
namespace BehaviorDesigner.Runtime
{
[System.Serializable]
public class SharedComparisonTypeEnum : SharedVariable<???>
{
public enum ComparisonType { GreaterThan, LessThan, EqualTo, NotEqualTo };
public static implicit operator SharedComparisonTypeEnum(ComparisonType value) { return new SharedComparisonTypeEnum { Value = value }; }
}
}