C# Class GameStateBehaviour, beerpong

Inheritance: StateBehaviour
ファイルを表示 Open project: ashomk/beerpong Class Usage Examples

Public Properties

Property Type Description
BoardwalkPong GameObject
InvalidPlayerPositionText GameObject
MAX_VELOCITY float
OBJECT_DEFAULT_POSITION float
PairingInfoText GameObject
ReplayButton GameObject
TableModel GameObject
YouLoseText GameObject
YouWonText GameObject
ballReleaseTimeout float
cupPrefab GameObject
hitCupLifetime float
relativeBallStartLocalPosition Vector3
tableLocalScale Vector3

Private Properties

Property Type Description
AnimateClearingCup void
BallReleased_Enter void
BallReleased_Update void
CurrentPlayerInactive_Enter void
CurrentPlayerInactive_Update void
DestroyMyPhotonObject void
DestroyPreviousRoundObjects void
DidAnimateClearingCups bool
DidClearCups bool
GameOver_Enter void
GameOver_Exit void
GameOver_Update void
HandleOnHitMyCup void
HandleOnThrowEnd void
HitOpponentCup_Update void
HitRing_Enter void
HitRing_Exit void
HitRing_FixedUpdate void
Init_Enter void
InvalidPlayerPosition_Enter void
InvalidPlayerPosition_Exit void
InvalidPlayerPosition_Update void
MissedOpponentCup_Enter void
OnHitOpponentCup void
OnHitRing void
OnHitRocketRing void
OnHitShotGunRing void
Pairing_Update void
RenderBallBeforeThrow void
RenderTrail_Enter void
RenderTrail_Exit void
RenderTrail_Update void
SetThrowDirection void
SetUpBall void
SetUpCamera void
SetUpCups void
SetUpObstacles void
SetUpRings void
UpdateOnHitRocketRing void
UpdateOnHitShotGunRing void
WaitToThrow_Enter void
WaitToThrow_Exit void
WaitToThrow_Update void

Public Methods

Method Description
Awake ( ) : void
HandleActivateGamePlay ( ) : void
HandleOnOpponentQuit ( ) : void
HandleOnTurnChange ( ) : void
OnClickPlayAgain ( ) : void
OnDestroy ( ) : void
OnPairingComplete ( ) : void
Pairing_Enter ( ) : void
Pairing_Exit ( ) : void
RenderBallPosition ( ) : void

Private Methods

Method Description
AnimateClearingCup ( BeerPongCup, hitCup ) : void
BallReleased_Enter ( ) : void
BallReleased_Update ( ) : void
CurrentPlayerInactive_Enter ( ) : void
CurrentPlayerInactive_Update ( ) : void
DestroyMyPhotonObject ( ) : void
DestroyPreviousRoundObjects ( ) : void
DidAnimateClearingCups ( ) : bool
DidClearCups ( BeerPong, playerID ) : bool
GameOver_Enter ( ) : void
GameOver_Exit ( ) : void
GameOver_Update ( ) : void
HandleOnHitMyCup ( int cupNumber ) : void
HandleOnThrowEnd ( ) : void
HitOpponentCup_Update ( ) : void
HitRing_Enter ( ) : void
HitRing_Exit ( ) : void
HitRing_FixedUpdate ( ) : void
Init_Enter ( ) : void
InvalidPlayerPosition_Enter ( ) : void
InvalidPlayerPosition_Exit ( ) : void
InvalidPlayerPosition_Update ( ) : void
MissedOpponentCup_Enter ( ) : void
OnHitOpponentCup ( int cupID ) : void
OnHitRing ( PowerUpRing, ring ) : void
OnHitRocketRing ( ) : void
OnHitShotGunRing ( ) : void
Pairing_Update ( ) : void
RenderBallBeforeThrow ( ) : void
RenderTrail_Enter ( ) : void
RenderTrail_Exit ( ) : void
RenderTrail_Update ( ) : void
SetThrowDirection ( ) : void
SetUpBall ( ) : void
SetUpCamera ( BeerPong, playerID ) : void
SetUpCups ( ) : void
SetUpObstacles ( ) : void
SetUpRings ( ) : void
UpdateOnHitRocketRing ( ) : void
UpdateOnHitShotGunRing ( ) : void
WaitToThrow_Enter ( ) : void
WaitToThrow_Exit ( ) : void
WaitToThrow_Update ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

HandleActivateGamePlay() public method

public HandleActivateGamePlay ( ) : void
return void

HandleOnOpponentQuit() public method

public HandleOnOpponentQuit ( ) : void
return void

HandleOnTurnChange() public method

public HandleOnTurnChange ( ) : void
return void

OnClickPlayAgain() public method

public OnClickPlayAgain ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnPairingComplete() public method

public OnPairingComplete ( ) : void
return void

Pairing_Enter() public method

public Pairing_Enter ( ) : void
return void

Pairing_Exit() public method

public Pairing_Exit ( ) : void
return void

RenderBallPosition() public method

public RenderBallPosition ( ) : void
return void

Property Details

BoardwalkPong public_oe property

public GameObject BoardwalkPong
return GameObject

InvalidPlayerPositionText public_oe property

public GameObject InvalidPlayerPositionText
return GameObject

MAX_VELOCITY public_oe static_oe property

public static float MAX_VELOCITY
return float

OBJECT_DEFAULT_POSITION public_oe static_oe property

public static float OBJECT_DEFAULT_POSITION
return float

PairingInfoText public_oe property

public GameObject PairingInfoText
return GameObject

ReplayButton public_oe property

public GameObject ReplayButton
return GameObject

TableModel public_oe property

public GameObject TableModel
return GameObject

YouLoseText public_oe property

public GameObject YouLoseText
return GameObject

YouWonText public_oe property

public GameObject YouWonText
return GameObject

ballReleaseTimeout public_oe property

public float ballReleaseTimeout
return float

cupPrefab public_oe property

public GameObject cupPrefab
return GameObject

hitCupLifetime public_oe property

public float hitCupLifetime
return float

relativeBallStartLocalPosition public_oe property

public Vector3 relativeBallStartLocalPosition
return Vector3

tableLocalScale public_oe static_oe property

public static Vector3 tableLocalScale
return Vector3