Photon Unity Networking: GameObjectExtensions Class Reference

Photon Unity Networking

GameObjectExtensions Class Reference

Small number of extension methods that make it easier for PUN to work cross-Unity-versions. More...

Static Public Member Functions

static bool GetActive (this GameObject target)
 Unity-version-independent replacement for active GO property. More...
 

Detailed Description

Small number of extension methods that make it easier for PUN to work cross-Unity-versions.

Member Function Documentation

static bool GameObjectExtensions.GetActive ( this GameObject  target)
static

Unity-version-independent replacement for active GO property.

Returns
Unity 3.5: active. Any newer Unity: activeInHierarchy.
Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH