C# Класс RemoteTech.RTCore

Наследование: UnityEngine.MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddOnceOnFrameUpdate ( System.Action action ) : void

Prevent duplicate calls for the OnFrameUpdate event.

FixedUpdate ( ) : void

Called by the Unity engine during the Physics phase. Note that FixedUpdate() is called before the internal engine physics update. This function is often called more frequently than Update().

OnDestroy ( ) : void

Called by the Unity engine during the Decommissioning phase of the Engine. This is used to clean up everything before quiting.

OnGUI ( ) : void

Called by the Unity engine during the GUI rendering phase. Note that OnGUI() is called multiple times per frame in response to GUI events. The Layout and Repaint events are processed first, followed by a Layout and keyboard/mouse event for each input event.

Start ( ) : void

Called by Unity engine during initialization phase. Only ever called once.

UiOff ( ) : void

F2 GUI Hiding functionality; called when the UI must be hidden.

UiOn ( ) : void

F2 GUI Hiding functionality; called when the UI must be displayed.

Update ( ) : void

Called by the Unity engine during the game logic phase. This function is called once per frame. It is the main workhorse function for frame updates.

Приватные методы

Метод Описание
GetActivatedGroup ( ) : IEnumerable
GetLocks ( ) : void

Acquire RemoteTech UI locks (disable usage of UI buttons).

ReleaseLocks ( ) : void

Release RemoteTech UI locks (enable usage of UI buttons).

Описание методов

AddOnceOnFrameUpdate() публичный Метод

Prevent duplicate calls for the OnFrameUpdate event.
public AddOnceOnFrameUpdate ( System.Action action ) : void
action System.Action The action to be added to the OnFrameUpdate event.
Результат void

FixedUpdate() публичный Метод

Called by the Unity engine during the Physics phase. Note that FixedUpdate() is called before the internal engine physics update. This function is often called more frequently than Update().
public FixedUpdate ( ) : void
Результат void

OnDestroy() публичный Метод

Called by the Unity engine during the Decommissioning phase of the Engine. This is used to clean up everything before quiting.
public OnDestroy ( ) : void
Результат void

OnGUI() публичный Метод

Called by the Unity engine during the GUI rendering phase. Note that OnGUI() is called multiple times per frame in response to GUI events. The Layout and Repaint events are processed first, followed by a Layout and keyboard/mouse event for each input event.
public OnGUI ( ) : void
Результат void

Start() публичный Метод

Called by Unity engine during initialization phase. Only ever called once.
public Start ( ) : void
Результат void

UiOff() публичный Метод

F2 GUI Hiding functionality; called when the UI must be hidden.
public UiOff ( ) : void
Результат void

UiOn() публичный Метод

F2 GUI Hiding functionality; called when the UI must be displayed.
public UiOn ( ) : void
Результат void

Update() публичный Метод

Called by the Unity engine during the game logic phase. This function is called once per frame. It is the main workhorse function for frame updates.
public Update ( ) : void
Результат void