Search Results for

    Show / Hide Table of Contents

    Class SharedVariable

    Variable can be shared between behaviors in behavior tree

    Inheritance
    object
    SharedVariable
    SharedVariable<T>
    Implements
    IDisposable
    Namespace: Ceres.Graph
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class SharedVariable : ICloneable, IDisposable

    Properties

    IsExposed

    Whether variable is exposed to editor

    Declaration
    public bool IsExposed { get; set; }
    Property Value
    Type Description
    bool

    IsGlobal

    Whether variable is global

    Declaration
    public bool IsGlobal { get; set; }
    Property Value
    Type Description
    bool

    IsShared

    Whether variable is shared

    Declaration
    public bool IsShared { get; set; }
    Property Value
    Type Description
    bool

    Name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Methods

    Bind(SharedVariable)

    Bind to other sharedVariable

    Declaration
    public abstract void Bind(SharedVariable other)
    Parameters
    Type Name Description
    SharedVariable other

    Clone()

    Clone shared variable by deep copy, an option here is to override for preventing using reflection

    Declaration
    public virtual SharedVariable Clone()
    Returns
    Type Description
    SharedVariable

    Dispose()

    Unbind self

    Declaration
    public abstract void Dispose()

    GetSerializedData()

    Declaration
    public virtual SharedVariableData GetSerializedData()
    Returns
    Type Description
    SharedVariableData

    GetValue()

    Declaration
    public abstract object GetValue()
    Returns
    Type Description
    object

    GetValueType()

    Declaration
    public virtual Type GetValueType()
    Returns
    Type Description
    Type

    Observe()

    Create a observe proxy variable

    Declaration
    public abstract ObserveProxyVariable Observe()
    Returns
    Type Description
    ObserveProxyVariable

    SetValue(object)

    Declaration
    public abstract void SetValue(object newValue)
    Parameters
    Type Name Description
    object newValue

    Implements

    IDisposable
    In This Article
    Back to top Copyright © 2025 AkiKurisu
    Generated with DocFX