Crosstales.Common.Util.PlatformController Class Reference

Enables or disable game objects and scripts for a given platform. More...

Inheritance diagram for Crosstales.Common.Util.PlatformController:
Crosstales.RTVoice.Demo.Util.PlatformController

Public Attributes

System.Collections.Generic.List< Crosstales.Common.Model.Enum.PlatformPlatforms
 Selected platforms for the controller. More...
 
bool Active = true
 summary>Selected objects for the controller. More...
 
GameObject[] Objects
 summary>Selected scripts for the controller. More...
 
MonoBehaviour[] Scripts
 

Protected Member Functions

virtual void Awake ()
 
void selectPlatform ()
 
void activateGameObjects ()
 
void activateScripts ()
 

Protected Attributes

Crosstales.Common.Model.Enum.Platform _currentPlatform
 

Detailed Description

Enables or disable game objects and scripts for a given platform.

Member Data Documentation

◆ Active

bool Crosstales.Common.Util.PlatformController.Active = true

summary>Selected objects for the controller.

◆ Objects

GameObject [] Crosstales.Common.Util.PlatformController.Objects

summary>Selected scripts for the controller.

◆ Platforms

System.Collections.Generic.List<Crosstales.Common.Model.Enum.Platform> Crosstales.Common.Util.PlatformController.Platforms

Selected platforms for the controller.

summary>Enable or disable the 'Objects' for the selected 'Platforms' (default: true).


The documentation for this class was generated from the following file:
  • C:/Users/slaub/Unity/assets/RTVoice/RTVoicePro/Assets/Plugins/crosstales/Common/Extras/PlatformController/Scripts/PlatformController.cs