Class SUEventSystemManager
Inheritance
SUEventSystemManager
Assembly: cs.temp.dll.dll
Syntax
public class SUEventSystemManager : MonoBehaviour
Properties
I
Declaration
public static SUEventSystemManager I { get; }
Property Value
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
MainLoop()
Declaration
RegisterSelectionIndicator(SUElement)
Register a SUElement as selection indicator for a Player's EventSystem
Declaration
public void RegisterSelectionIndicator(SUElement item)
Parameters
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
ResetStateHistoryFocus(Int32, String)
Reset the history of a state which contains the last object selected
Declaration
public void ResetStateHistoryFocus(int playerID, string stateName)
Parameters