Search Results for

    Show / Hide Table of Contents

    Class SUElementData

    Inheritance
    Object
    SUElementData
    Namespace: Surfer
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class SUElementData

    Fields

    IsStackDelayRunning

    Declaration
    public bool IsStackDelayRunning
    Field Value
    Type Description
    Boolean

    Properties

    AllUIStates

    List that contains all StatesUI loaded in the scene/game

    Declaration
    public static HashSet<SUElementData> AllUIStates { get; }
    Property Value
    Type Description
    HashSet<SUElementData>

    ChildUIStates

    Declaration
    public List<SUStateInfo> ChildUIStates { get; }
    Property Value
    Type Description
    List<SUStateInfo>

    CloseDelay

    Declaration
    public float CloseDelay { get; }
    Property Value
    Type Description
    Single

    GroupStates

    Declaration
    public SUStatesData GroupStates { get; }
    Property Value
    Type Description
    SUStatesData

    HbVisualData

    Declaration
    public SUHealthBarVisualData HbVisualData { get; }
    Property Value
    Type Description
    SUHealthBarVisualData

    IndVisualData

    Declaration
    public SUIndicatorVisualData IndVisualData { get; }
    Property Value
    Type Description
    SUIndicatorVisualData

    IntVal

    Declaration
    public int IntVal { get; }
    Property Value
    Type Description
    Int32

    IsStackable

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

    IsToolkit

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

    ObjOwner

    Declaration
    public GameObject ObjOwner { get; set; }
    Property Value
    Type Description
    GameObject

    ParentUIStates

    Declaration
    public List<SUStateInfo> ParentUIStates { get; }
    Property Value
    Type Description
    List<SUStateInfo>

    PlayerID

    Get the PlayerID of the object linked to this ElementData.

    Declaration
    public int PlayerID { get; }
    Property Value
    Type Description
    Int32

    StackDelay

    Declaration
    public float StackDelay { get; }
    Property Value
    Type Description
    Single

    StateData

    Declaration
    public SUStateData StateData { get; }
    Property Value
    Type Description
    SUStateData

    StateName

    Get the StateName of the object linked to this ElementData, wheter it is a state or normal element.

    Declaration
    public string StateName { get; }
    Property Value
    Type Description
    String

    StatesToClose

    Declaration
    public List<SUStateInfo> StatesToClose { get; }
    Property Value
    Type Description
    List<SUStateInfo>

    StringVal

    Declaration
    public string StringVal { get; }
    Property Value
    Type Description
    String

    StringVal2

    Declaration
    public string StringVal2 { get; }
    Property Value
    Type Description
    String

    Type

    Declaration
    public SUElementData.Type_ID Type { get; }
    Property Value
    Type Description
    SUElementData.Type_ID

    Vector

    Declaration
    public Vector2 Vector { get; }
    Property Value
    Type Description
    Vector2

    Methods

    HandleOnDestroy()

    Declaration
    public void HandleOnDestroy()

    InjectStateData(String, Int32, SUElementData.StateCloseMode_ID)

    Declaration
    public void InjectStateData(string stateName, int playerID, SUElementData.StateCloseMode_ID closeModeID)
    Parameters
    Type Name Description
    String stateName
    Int32 playerID
    SUElementData.StateCloseMode_ID closeModeID

    SetCloseMode(SUElementData.StateCloseMode_ID, Single, List<String>)

    Declaration
    public void SetCloseMode(SUElementData.StateCloseMode_ID closeModeID, float closeDelay = 0F, List<string> customListToClose = null)
    Parameters
    Type Name Description
    SUElementData.StateCloseMode_ID closeModeID
    Single closeDelay
    List<String> customListToClose

    SetStacking(Single)

    Declaration
    public void SetStacking(float stackDelay)
    Parameters
    Type Name Description
    Single stackDelay

    SetUp(GameObject, Nullable<Boolean>)

    Declaration
    public void SetUp(GameObject go, bool? persistent = default(bool? ))
    Parameters
    Type Name Description
    GameObject go
    Nullable<Boolean> persistent

    SetUpState(GameObject, String, Int32, Nullable<Boolean>)

    Declaration
    public void SetUpState(GameObject rectGO, string stateName, int playerID, bool? persistent = default(bool? ))
    Parameters
    Type Name Description
    GameObject rectGO
    String stateName
    Int32 playerID
    Nullable<Boolean> persistent
    In This Article
    Back to top Copyright © 2021 ATStudio