C# Class DemoMgr, UnityDemo

Inheritance: NetworkBehaviour
Show file Open project: rouchen/UnityDemo Class Usage Examples

Public Properties

Property Type Description
building GameObject
ground GameObject
singleton DemoMgr,
targetPosBlue Transform
targetPosRed Transform

Public Methods

Method Description
AddPlayerOnline ( ) : int
GetPlayerOnline ( ) : int
Set2pComps ( ) : void

Private Methods

Method Description
Awake ( ) : void
OnGUI ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

AddPlayerOnline() public method

public AddPlayerOnline ( ) : int
return int

GetPlayerOnline() public static method

public static GetPlayerOnline ( ) : int
return int

Set2pComps() public method

public Set2pComps ( ) : void
return void

Property Details

building public property

public GameObject building
return GameObject

ground public property

public GameObject ground
return GameObject

singleton public static property

public static DemoMgr, singleton
return DemoMgr,

targetPosBlue public property

public Transform targetPosBlue
return Transform

targetPosRed public property

public Transform targetPosRed
return Transform