C# Class TooltipManager, Hero.Coli

Inheritance: MonoBehaviour
ファイルを表示 Open project: CyberCRI/Hero.Coli Class Usage Examples

Public Properties

Property Type Description
bioBrickBackground string
bioBrickTooltipPanel TooltipPanel,
deviceBackground string
deviceTooltipPanel TooltipPanel,
gameObjectName string
gameStateController GameStateController,
inputFiles string[]
uiCamera Camera

Public Methods

Method Description
displayTooltip ( ) : bool
displayTooltip ( bool isOver, BioBrick, brick, Vector3 pos ) : bool
displayTooltip ( bool isOver, Device, device, Vector3 pos ) : bool
get ( ) : TooltipManager,
getBioBrickBackground ( ) : string
getDeviceBackground ( ) : string

Private Methods

Method Description
Awake ( ) : void
Start ( ) : void
displayTooltip ( bool isOver, string code, Vector3 pos ) : bool
fillInFieldsFromCode ( string code ) : bool
getQuadrant ( Vector3 pos ) : Quadrant,
loadDataIntoDico ( string inputFiles, TooltipInfo>.Dictionary dico ) : void
retrieveFromDico ( string code ) : TooltipInfo,
setPosition ( Vector3 pos ) : void
setVarsFromTooltipPanel ( TooltipType type ) : void

Method Details

displayTooltip() public static method

public static displayTooltip ( ) : bool
return bool

displayTooltip() public static method

public static displayTooltip ( bool isOver, BioBrick, brick, Vector3 pos ) : bool
isOver bool
brick BioBrick,
pos Vector3
return bool

displayTooltip() public static method

public static displayTooltip ( bool isOver, Device, device, Vector3 pos ) : bool
isOver bool
device Device,
pos Vector3
return bool

get() public static method

public static get ( ) : TooltipManager,
return TooltipManager,

getBioBrickBackground() public static method

public static getBioBrickBackground ( ) : string
return string

getDeviceBackground() public static method

public static getDeviceBackground ( ) : string
return string

Property Details

bioBrickBackground public_oe property

public string bioBrickBackground
return string

bioBrickTooltipPanel public_oe property

public TooltipPanel, bioBrickTooltipPanel
return TooltipPanel,

deviceBackground public_oe property

public string deviceBackground
return string

deviceTooltipPanel public_oe property

public TooltipPanel, deviceTooltipPanel
return TooltipPanel,

gameObjectName public_oe static_oe property

public static string gameObjectName
return string

gameStateController public_oe property

public GameStateController, gameStateController
return GameStateController,

inputFiles public_oe property

public string[] inputFiles
return string[]

uiCamera public_oe property

public Camera uiCamera
return Camera