C# Class LookUp, Summer_SlowJam_3

Inheritance: MonoBehaviour
Afficher le fichier Open project: Rojibora/Summer_SlowJam_3 Class Usage Examples

Méthodes publiques

Méthode Description
PlayerCabinetPosition ( int playerNumber ) : int

Gets the players postion in the cabnet starting at 0 on the left.

PlayerColor ( int playerNumber ) : Color

Gets the Color assigned to that player

PlayerColorName ( int playerNumber ) : string

Gets the string of the Color assigned to that player.

PlayerLogicPosition ( int playerNumber ) : int

Gets the Player number from Cabnet position

Method Details

PlayerCabinetPosition() public static méthode

Gets the players postion in the cabnet starting at 0 on the left.
public static PlayerCabinetPosition ( int playerNumber ) : int
playerNumber int
Résultat int

PlayerColor() public static méthode

Gets the Color assigned to that player
public static PlayerColor ( int playerNumber ) : Color
playerNumber int
Résultat Color

PlayerColorName() public static méthode

Gets the string of the Color assigned to that player.
public static PlayerColorName ( int playerNumber ) : string
playerNumber int
Résultat string

PlayerLogicPosition() public static méthode

Gets the Player number from Cabnet position
public static PlayerLogicPosition ( int playerNumber ) : int
playerNumber int
Résultat int