C# Class ControlsMainMenuItemArray, Hero.Coli

Inheritance: MainMenuItemArray
显示文件 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_oe property

public CellControl, cellControl
return CellControl,

cellControlPanel public_oe property

public GameObject cellControlPanel
return GameObject

gameObjectName public_oe static_oe property

public static string gameObjectName
return string

selectedKeyboardControlSprite public_oe property

public GameObject selectedKeyboardControlSprite
return GameObject

selectedMouseControlSprite public_oe property

public GameObject selectedMouseControlSprite
return GameObject