C# Class ControlsMainMenuItemArray, Hero.Coli

Inheritance: MainMenuItemArray
Show file Open project: CyberCRI/Hero.Coli Class Usage Examples

Public Properties

Property Type Description
cellControl CellControl,
cellControlPanel GameObject
gameObjectName string
selectedKeyboardControlSprite GameObject
selectedMouseControlSprite GameObject

Public Methods

Method Description
get ( ) : ControlsMainMenuItemArray,
switchControlTypeToAbsoluteWASD ( ) : void
switchControlTypeToLeftClickToMove ( ) : void
switchControlTypeToRelativeWASD ( ) : void
switchControlTypeToRightClickToMove ( ) : void

Private Methods

Method Description
Awake ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
updateIconsPosition ( bool active ) : void

Method Details

get() public static method

public static get ( ) : ControlsMainMenuItemArray,
return ControlsMainMenuItemArray,

switchControlTypeToAbsoluteWASD() public method

public switchControlTypeToAbsoluteWASD ( ) : void
return void

switchControlTypeToLeftClickToMove() public method

public switchControlTypeToLeftClickToMove ( ) : void
return void

switchControlTypeToRelativeWASD() public method

public switchControlTypeToRelativeWASD ( ) : void
return void

switchControlTypeToRightClickToMove() public method

public switchControlTypeToRightClickToMove ( ) : void
return void

Property Details

cellControl public property

public CellControl, cellControl
return CellControl,

cellControlPanel public property

public GameObject cellControlPanel
return GameObject

gameObjectName public static property

public static string gameObjectName
return string

selectedKeyboardControlSprite public property

public GameObject selectedKeyboardControlSprite
return GameObject

selectedMouseControlSprite public property

public GameObject selectedMouseControlSprite
return GameObject