C# Class SocialGame.TwoPlayerSwitcher

Inheritance: UnityEngine.MonoBehaviour
Exibir arquivo Open project: BrainProject/UnityTemp

Public Properties

Property Type Description
TwoPlayer bool
animPlayer2 UnityEngine.Animator
button Check
ghost UnityEngine.Material
player2 UnityEngine.SkinnedMeshRenderer

Public Methods

Method Description
Activate2player ( ) : void

Activate2player this instance.

Deactivate2player ( ) : void

Deactivate2player this instance.

Start ( ) : void
Update ( ) : void

check second player and show him

Private Methods

Method Description
WaitOnStartMGC ( ) : IEnumerator

Method Details

Activate2player() public method

Activate2player this instance.
public Activate2player ( ) : void
return void

Deactivate2player() public method

Deactivate2player this instance.
public Deactivate2player ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

check second player and show him
public Update ( ) : void
return void

Property Details

TwoPlayer public_oe property

public bool TwoPlayer
return bool

animPlayer2 public_oe property

public Animator,UnityEngine animPlayer2
return UnityEngine.Animator

button public_oe property

public Check,SocialGame button
return Check

ghost public_oe property

public Material,UnityEngine ghost
return UnityEngine.Material

player2 public_oe property

public SkinnedMeshRenderer,UnityEngine player2
return UnityEngine.SkinnedMeshRenderer