C# Class LeopotamGroup.Gui.Common.GuiSystem

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: Leopotam/LeopotamGroupLibraryUnity Class Usage Examples

Public Properties

Property Type Description
IsInputLocked bool

Public Methods

Method Description
AddEventReceiver ( GuiEventReceiver receiver ) : void

Add event receiver.

Awake ( ) : void
FixCamera ( ) : void
FixScaleFactors ( ) : void
GetOverlayPosition ( Camera worldCamera, Vector3 worldPoint, Transform widgetContainer ) : Vector3

Get position of worldpoint at gui relative to widget container.

IsInstanceCreated ( ) : bool

Save checking for singleton instance availability.

LateUpdate ( ) : void
OnDestroy ( ) : void
OnEnable ( ) : void
ProcessInput ( ) : void
RemoveEventReceiver ( GuiEventReceiver receiver ) : void

Remove event receiver.

Validate ( ) : void

Force revalidate GuiSystem.

Method Details

AddEventReceiver() public method

Add event receiver.
public AddEventReceiver ( GuiEventReceiver receiver ) : void
receiver GuiEventReceiver Receiver.
return void

Awake() public method

public Awake ( ) : void
return void

FixCamera() public method

public FixCamera ( ) : void
return void

FixScaleFactors() public method

public FixScaleFactors ( ) : void
return void

GetOverlayPosition() public method

Get position of worldpoint at gui relative to widget container.
public GetOverlayPosition ( Camera worldCamera, Vector3 worldPoint, Transform widgetContainer ) : Vector3
worldCamera UnityEngine.Camera World camera.
worldPoint UnityEngine.Vector3 World point.
widgetContainer UnityEngine.Transform Widget container, can be null.
return UnityEngine.Vector3

IsInstanceCreated() public static method

Save checking for singleton instance availability.
public static IsInstanceCreated ( ) : bool
return bool

LateUpdate() public method

public LateUpdate ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

ProcessInput() public method

public ProcessInput ( ) : void
return void

RemoveEventReceiver() public method

Remove event receiver.
public RemoveEventReceiver ( GuiEventReceiver receiver ) : void
receiver GuiEventReceiver Receiver.
return void

Validate() public method

Force revalidate GuiSystem.
public Validate ( ) : void
return void

Property Details

IsInputLocked public property

Is user input locked.
public bool IsInputLocked
return bool