docs.unity.cn
    Show / Hide Table of Contents

    Class BaseRule

    Class BaseRule.

    Inheritance
    Object
    BaseRule
    CommonRule
    PassthroughRule
    Namespace: UnityEngine.Industrial.Configuring.Core.Ruling
    Syntax
    [Serializable]
    public abstract class BaseRule : IRule

    Properties

    Action

    Gets or sets the action.

    Declaration
    public abstract IRuleAction Action { get; set; }
    Property Value
    Type Description
    IRuleAction

    The action.

    Implements
    IRule.Action

    Condition

    Gets or sets the condition.

    Declaration
    public abstract IRuleCondition Condition { get; set; }
    Property Value
    Type Description
    IRuleCondition

    The condition.

    Implements
    IRule.Condition

    Methods

    Execute(RuleExecutionContext)

    Executes the specified context.

    Declaration
    public void Execute(RuleExecutionContext context)
    Parameters
    Type Name Description
    RuleExecutionContext context

    The context.

    Implements
    IRule.Execute(RuleExecutionContext)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 03 March 2021