Class XUType
Belongs either to an object or to an object pattern.
Assembly: Xareus.Relations.Unity.dll
Syntax
[Renamed("UFType")]
[Renamed("UFType", "FIVE.Unity")]
[Renamed("FIVE.Unity.UFType", "FIVE.Unity")]
public abstract class XUType : MonoBehaviour, IObjectType
Fields
id
The identifier of this type
Declaration
Field Value
relationType
Declaration
[NonSerialized]
protected Type relationType
Field Value
xuObject
Declaration
protected XUObject xuObject
Field Value
Properties
Name
Declaration
public string Name { get; set; }
Property Value
Owner
Declaration
public IObject Owner { get; set; }
Property Value
Type
Declaration
public Type Type { get; set; }
Property Value
UFObject
Declaration
[Obsolete("Use XuObject property instead")]
public XUObject UFObject { get; }
Property Value
XuObject
The Objects this type is on
Declaration
public XUObject XuObject { get; set; }
Property Value
Methods
GenerateNewId()
Declaration
protected void GenerateNewId()
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()
OnValidate()
Called in the editor when any change is made on a monobehaviour. This ensures that the Id is unique
Declaration
protected virtual void OnValidate()
ToString()
Declaration
public override string ToString()
Returns
Overrides
UnityEngine.Object.ToString()
Events
XuTypeRemovedEvent
Event to register to the removal of a Type
Declaration
public event EventHandler XuTypeRemovedEvent
Event Type
Type |
Description |
EventHandler |
|
Implements