Photon Unity Networking v1.101

Static Public Member Functions | List of all members
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

◆ GetActive()

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.