Class SoftObjectReference
The scripting object soft reference. Objects gets referenced on use (ID reference is resolving it).
Inheritance
System.Object
SoftObjectReference
Implements
System.IComparable
System.IComparable<SoftObjectReference>
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class SoftObjectReference : ValueType, IComparable, IComparable<SoftObjectReference>
Properties
ID
Gets or sets the object identifier.
Declaration
public Guid ID { get; set; }
Property Value
System.Guid
|
Methods
CompareTo(SoftObjectReference)
Declaration
public int CompareTo(SoftObjectReference other)
Parameters
SoftObjectReference
other
|
Returns
System.Int32
|
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
System.Object
obj
|
Returns
System.Int32
|
Get<T>()
Gets the object reference.
Declaration
public T Get<T>()
where T : Object
Returns
T
The resolved object or null. |
Type Parameters
T
The object type. |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Set(Object)
Sets the object reference.
Declaration
public void Set(Object obj)
Parameters
Object
obj
The object. |
ToString()
Declaration
public override string ToString()
Returns
System.String
|