Search Results for

    Show / Hide Table of Contents

    Class SUEventSystemManager

    Inheritance
    Object
    SUEventSystemManager
    Namespace: Surfer
    Assembly: cs.temp.dll.dll
    Syntax
    public class SUEventSystemManager : MonoBehaviour

    Properties

    I

    Declaration
    public static SUEventSystemManager I { get; }
    Property Value
    Type Description
    SUEventSystemManager

    Methods

    CheckHistoryFocus(Int32, String)

    When a state is open, check and register history focus receiver

    Declaration
    public void CheckHistoryFocus(int playerID, string stateOpened)
    Parameters
    Type Name Description
    Int32 playerID
    String stateOpened

    FocusOnObject(GameObject)

    Make the EventSystem focus on a particular gameObject by making it selected

    Declaration
    public void FocusOnObject(GameObject obj)
    Parameters
    Type Name Description
    GameObject obj

    object to select/focus on

    FocusOnObject(GameObject, Int32)

    Make the EventSystem focus on a particular gameObject by making it selected

    Declaration
    public void FocusOnObject(GameObject obj, int playerID)
    Parameters
    Type Name Description
    GameObject obj

    object to select/focus on

    Int32 playerID

    FocusOnObjectOrLast(GameObject)

    If the state of the object has a "last object selection" the EventSystem will focus on that object, otherwise it will focus on the object chosen

    Declaration
    public void FocusOnObjectOrLast(GameObject obj)
    Parameters
    Type Name Description
    GameObject obj

    object to select/focus on

    GetAllEventSystems()

    Declaration
    public void GetAllEventSystems()

    GetEventSystem(Int32)

    Declaration
    public EventSystem GetEventSystem(int playerID)
    Parameters
    Type Name Description
    Int32 playerID
    Returns
    Type Description
    EventSystem

    IsHistoryReceiver(GameObject)

    Check if the object was the last state object and therefore it received the history event callback

    Declaration
    public bool IsHistoryReceiver(GameObject obj)
    Parameters
    Type Name Description
    GameObject obj
    Returns
    Type Description
    Boolean

    MainLoop()

    Declaration
    public void MainLoop()

    RegisterSelectionIndicator(SUElement)

    Register a SUElement as selection indicator for a Player's EventSystem

    Declaration
    public void RegisterSelectionIndicator(SUElement item)
    Parameters
    Type Name Description
    SUElement item

    ResetHistoryReceiver(Int32, String)

    Call OnDeselect on the object that was the last object of its state

    Declaration
    public void ResetHistoryReceiver(int playerID, string stateName)
    Parameters
    Type Name Description
    Int32 playerID
    String stateName

    ResetStateHistoryFocus(Int32, String)

    Reset the history of a state which contains the last object selected

    Declaration
    public void ResetStateHistoryFocus(int playerID, string stateName)
    Parameters
    Type Name Description
    Int32 playerID
    String stateName
    In This Article
    Back to top Copyright © 2021 ATStudio