C# Class SpawnPrefab, unity-network-sample

Inheritance: MonoBehaviour
Show file Open project: anchan828/unity-network-sample Class Usage Examples

Public Properties

Property Type Description
playerPrefab Transform

Public Methods

Method Description
OnNetworkLoadedLevel ( ) : void
OnPlayerDisconnected ( NetworkPlayer player ) : void

Method Details

OnNetworkLoadedLevel() public method

public OnNetworkLoadedLevel ( ) : void
return void

OnPlayerDisconnected() public method

public OnPlayerDisconnected ( NetworkPlayer player ) : void
player NetworkPlayer
return void

Property Details

playerPrefab public property

public Transform playerPrefab
return Transform