docs.unity3d.com
    显示 / 隐藏目录

    Class ConditionBaseInspector

    Inheritance
    Object
    ComponentInspector
    ConditionBaseInspector
    MultiConditionInspector
    RelationInspector
    SpatialConditionInspector
    Inherited Members
    ComponentInspector.target
    ComponentInspector.serializedObject
    ComponentInspector.baseProperty
    ComponentInspector.activeProperty
    ComponentInspector.isDirty
    ComponentInspector.Repaint()
    ComponentInspector.CleanUp()
    ComponentInspector.EditorInspector
    ComponentInspector.Init(Object, Editor)
    ComponentInspector.OnDisable()
    ComponentInspector.OnInternalInspectorGUI()
    ComponentInspector.DrawDefaultInspector()
    ComponentInspector.GetParameters(Boolean)
    ComponentInspector.GetDisplayTitle()
    ComponentInspector.GetToolTip()
    ComponentInspector.HasDisplayProperties()
    Namespace: Unity.MARS
    Syntax
    public abstract class ConditionBaseInspector : ComponentInspector

    Fields

    k_ButtonLabel

    Declaration
    protected const string k_ButtonLabel = "Edit Condition"
    Field Value
    Type Description
    String

    k_ButtonTooltip

    Declaration
    protected const string k_ButtonTooltip = "Toggle scene handles for this condition."
    Field Value
    Type Description
    String

    k_NoMinOrMaxWarning

    Declaration
    protected const string k_NoMinOrMaxWarning = "This condition has neither a minimum nor a maximum, and therefore it has no effect."
    Field Value
    Type Description
    String

    k_SmallMinMaxRangeWarning

    Declaration
    protected const string k_SmallMinMaxRangeWarning = "This condition's min/max range is very small, and therefore it will be hard to satisfy."
    Field Value
    Type Description
    String

    k_UnboundedLabel

    Declaration
    protected const string k_UnboundedLabel = "Unbounded"
    Field Value
    Type Description
    String

    m_HandleMode

    Declaration
    protected ConditionBaseInspector.HandleMode m_HandleMode
    Field Value
    Type Description
    ConditionBaseInspector.HandleMode

    Properties

    conditionBase

    Declaration
    protected ConditionBase conditionBase { get; }
    Property Value
    Type Description
    ConditionBase

    entity

    Declaration
    protected MARSEntity entity { get; }
    Property Value
    Type Description
    MARSEntity

    marsUserPreferences

    Declaration
    protected MARSUserPreferences marsUserPreferences { get; }
    Property Value
    Type Description
    MARSUserPreferences

    targetTransform

    Declaration
    protected Transform targetTransform { get; }
    Property Value
    Type Description
    Transform

    Methods

    OnConditionInspectorGUI()

    Used to wrap the property drawers of the inspector inside a change check for Query updating.

    Declaration
    protected abstract void OnConditionInspectorGUI()

    OnConditionSceneGUI()

    Declaration
    protected abstract void OnConditionSceneGUI()

    OnEnable()

    Declaration
    public override void OnEnable()
    Overrides
    ComponentInspector.OnEnable()

    OnInspectorGUI()

    Declaration
    public sealed override void OnInspectorGUI()
    Overrides
    ComponentInspector.OnInspectorGUI()

    OnSceneGUI()

    Declaration
    public sealed override void OnSceneGUI()
    Overrides
    ComponentInspector.OnSceneGUI()

    UpdateHandleMode()

    Declaration
    protected void UpdateHandleMode()

    Extension Methods

    EditorGUIUtils.DrawDefaultInspectorWithColor(ComponentInspector, Nullable<Color>)
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)