C# Class DemoMgr, UnityDemo

Inheritance: NetworkBehaviour
显示文件 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_oe property

public GameObject building
return GameObject

ground public_oe property

public GameObject ground
return GameObject

singleton public_oe static_oe property

public static DemoMgr, singleton
return DemoMgr,

targetPosBlue public_oe property

public Transform targetPosBlue
return Transform

targetPosRed public_oe property

public Transform targetPosRed
return Transform