C# Class LookUp, Summer_SlowJam_3

Inheritance: MonoBehaviour
显示文件 Open project: Rojibora/Summer_SlowJam_3 Class Usage Examples

Public Methods

Method 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 method

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

PlayerColor() public static method

Gets the Color assigned to that player
public static PlayerColor ( int playerNumber ) : Color
playerNumber int
return Color

PlayerColorName() public static method

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

PlayerLogicPosition() public static method

Gets the Player number from Cabnet position
public static PlayerLogicPosition ( int playerNumber ) : int
playerNumber int
return int