Click or drag to resize
ActiveOnPlatformBehaviour Class
(De-)Activates this game object depending on the current runtime platform.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Slash.Unity.Common.UtilsActiveOnPlatformBehaviour

Namespace: Slash.Unity.Common.Utils
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
public class ActiveOnPlatformBehaviour : MonoBehaviour

The ActiveOnPlatformBehaviour type exposes the following members.

Constructors
  NameDescription
Public methodActiveOnPlatformBehaviour
Initializes a new instance of the ActiveOnPlatformBehaviour class
Top
Fields
  NameDescription
Public fieldActive
Whether to activate or deactive this game object.
Public fieldPlatform
Runtime platform causing the game object to be activated or deactivated.
Public fieldTarget
Target to activate/deactivate.
Top
See Also