docs.unity3d.com
    Show / Hide Table of Contents

    Class SubRelation

    Base class that must be used to build up any members of MultiRelations

    Inheritance
    Object
    SubRelation
    TestMultiRelation.SameAlignmentRelation
    TestMultiRelation.SimilarBoundsSizeRelation
    Namespace: Unity.MARS.Conditions
    Syntax
    [Serializable]
    [MovedFrom("Unity.MARS")]
    public class SubRelation

    Fields

    Host

    Refers to the MonoBehaviour that is hosting the Relations

    Declaration
    [HideInInspector]
    public MonoBehaviour Host
    Field Value
    Type Description
    MonoBehaviour

    m_Child1

    Declaration
    [SerializeField]
    [HideInInspector]
    protected Proxy m_Child1
    Field Value
    Type Description
    Proxy

    m_Child2

    Declaration
    [SerializeField]
    [HideInInspector]
    protected Proxy m_Child2
    Field Value
    Type Description
    Proxy

    Properties

    child1

    Declaration
    public IMRObject child1 { get; }
    Property Value
    Type Description
    IMRObject

    child2

    Declaration
    public IMRObject child2 { get; }
    Property Value
    Type Description
    IMRObject

    enabled

    Declaration
    public bool enabled { get; }
    Property Value
    Type Description
    Boolean

    Methods

    SetChildren(Proxy, Proxy)

    Declaration
    public void SetChildren(Proxy context1, Proxy context2)
    Parameters
    Type Name Description
    Proxy context1
    Proxy context2
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023