docs.unity3d.com
    Show / Hide Table of Contents

    Class Condition

    Base class for MARS Proxy conditions, which provide ratings for Proxy data matches In most cases, you should inherit from the generic form, Condition<T>

    Inheritance
    Object
    ConditionBase
    Condition
    Condition<T>
    BoundedRangeCondition
    Inherited Members
    ConditionBase.proxy
    ConditionBase.drawWarning
    ConditionBase.OnValidate()
    Namespace: Unity.MARS
    Syntax
    public abstract class Condition : ConditionBase, ISimulatable, ICondition, IConditionBase, IRequiresTraits

    Properties

    traitName

    What trait this condition is testing against

    Declaration
    public string traitName { get; }
    Property Value
    Type Description
    String
    Implements
    ICondition.traitName

    Methods

    GetRequiredTraits()

    Get the TraitRequirements that are required by this object

    Declaration
    public abstract TraitRequirement[] GetRequiredTraits()
    Returns
    Type Description
    TraitRequirement[]

    The required traits

    Implements
    IRequiresTraits.GetRequiredTraits()
    Back to top
    Terms of use
    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