Skip to main content

IDeviceLifecycle

An interface in Root.Township, the global namespace.

A VR or input device platform: turns its SDK on and off and gets update calls. DeviceLifecycle is the base implementation.

Properties​

MemberWhat it is
IPlatformPlayer Player { get; }The platform player this device drives.

Methods​

MemberWhat it is
void DisableSDK()Shuts down the device SDK.
void EnableSDK()Starts the device SDK.
void FixedUpdate()Called each physics step.
void LateUpdate()Called each frame after updates.
void SetDevicePlayer(IPlatformPlayer newPlayer)Sets the platform player the device drives.
void Update()Called each frame.