Class RelationBase
Base condition that is fulfilled when both child entities are fulfilled as part of a Proxy Group.
Implements
Inherited Members
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.MARS.Query
Assembly: Unity.MARS.dll
Syntax
[RequireComponent(typeof(ProxyGroup))]
[MovedFrom("Unity.MARS")]
public abstract class RelationBase : ConditionBase, ISimulatable
Fields
m_Child1
Declaration
[SerializeField]
protected Proxy m_Child1
Field Value
Type | Description |
---|---|
Proxy |
m_Child2
Declaration
[SerializeField]
protected Proxy m_Child2
Field Value
Type | Description |
---|---|
Proxy |
Properties
child1
Declaration
public IMRObject child1 { get; }
Property Value
Type | Description |
---|---|
IMRObject |
child1Proxy
Declaration
public Proxy child1Proxy { get; set; }
Property Value
Type | Description |
---|---|
Proxy |
child1Transform
Declaration
public Transform child1Transform { get; }
Property Value
Type | Description |
---|---|
Transform |
child2
Declaration
public IMRObject child2 { get; }
Property Value
Type | Description |
---|---|
IMRObject |
child2Proxy
Declaration
public Proxy child2Proxy { get; set; }
Property Value
Type | Description |
---|---|
Proxy |
child2Transform
Declaration
public Transform child2Transform { get; }
Property Value
Type | Description |
---|---|
Transform |
proxyGroup
Declaration
public ProxyGroup proxyGroup { get; }
Property Value
Type | Description |
---|---|
ProxyGroup |
Methods
EnsureChildClients()
Declaration
public void EnsureChildClients()
OnValidate()
Declaration
public override void OnValidate()
Overrides
Reset()
Declaration
public virtual void Reset()
ResetChildrenReferences()
Declaration
public void ResetChildrenReferences()