C# Class GameRuleCtrl, 006762

Inheritance: MonoBehaviour
显示文件 Open project: gilbutITbook/006762 Class Usage Examples

Public Properties

Property Type Description
clearSeClip UnityEngine.AudioClip
followCamera FollowCamera,
gameClear bool
gameOver bool
player GameObject
playerPrefab GameObject
sceneChangeTime float
startPoint Transform
timeRemaining float

Public Methods

Method Description
GameClear ( ) : void
GameOver ( ) : void
OnPlayerConnected ( NetworkPlayer player ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
GameClearOnNetwork ( ) : void
GameOverOnNetwork ( ) : void
SetRemainTime ( float time ) : void

Method Details

GameClear() public method

public GameClear ( ) : void
return void

GameOver() public method

public GameOver ( ) : void
return void

OnPlayerConnected() public method

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

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

clearSeClip public_oe property

public AudioClip,UnityEngine clearSeClip
return UnityEngine.AudioClip

followCamera public_oe property

public FollowCamera, followCamera
return FollowCamera,

gameClear public_oe property

public bool gameClear
return bool

gameOver public_oe property

public bool gameOver
return bool

player public_oe property

public GameObject player
return GameObject

playerPrefab public_oe property

public GameObject playerPrefab
return GameObject

sceneChangeTime public_oe property

public float sceneChangeTime
return float

startPoint public_oe property

public Transform startPoint
return Transform

timeRemaining public_oe property

public float timeRemaining
return float