Class Conditions
Collections of different types of data filters
Syntax
Constructors
Conditions(Condition)
Declaration
public Conditions(Condition condition)
Parameters
Conditions(Proxy)
Declaration
public Conditions(Proxy target)
Parameters
Type |
Name |
Description |
Proxy |
target |
|
Conditions(ICondition[])
Declaration
public Conditions(ICondition[] conditions)
Parameters
Properties
Count
The number of conditions present on this proxy, across all types
Declaration
public int Count { get; }
Property Value
Methods
FromGameObject<TComponentRootType>(GameObject)
Declaration
public static Conditions FromGameObject<TComponentRootType>(GameObject target)
where TComponentRootType : Component, IMRObject
Parameters
Type |
Name |
Description |
GameObject |
target |
|
Returns
Type Parameters
Name |
Description |
TComponentRootType |
|
FromGenericIMRObject<TComponentRootType>(TComponentRootType)
Declaration
public static Conditions FromGenericIMRObject<TComponentRootType>(TComponentRootType target)
where TComponentRootType : Component, IMRObject
Parameters
Type |
Name |
Description |
TComponentRootType |
target |
|
Returns
Type Parameters
Name |
Description |
TComponentRootType |
|
GetTypeCount(out Object[])
Declaration
[Obsolete("This method exists in order for MARS to compile before type-specific code is generated. Use the type-specific version of this method")]
public int GetTypeCount(out object[] conditions)
Parameters
Type |
Name |
Description |
Object[] |
conditions |
|
Returns
TryGetType(out Object[])
Declaration
[Obsolete("This method exists in order for MARS to compile before type-specific code is generated. Use the type-specific version of this method")]
public bool TryGetType(out object[] conditions)
Parameters
Type |
Name |
Description |
Object[] |
conditions |
|
Returns
TryGetType<T>(out T[])
Declaration
public bool TryGetType<T>(out T[] conditions)
Parameters
Type |
Name |
Description |
T[] |
conditions |
|
Returns
Type Parameters