C# Class GenericDisplayedBioBrick, Hero.Coli

Inheritance: DisplayedElement
Mostra file Open project: CyberCRI/Hero.Coli Class Usage Examples

Public Properties

Property Type Description
_biobrick BioBrick,
genericPrefab UnityEngine.Object
prefabURI string
spriteNamesDico string>.Dictionary

Public Methods

Method Description
Create ( Transform parentTransform, Vector3 localPosition, string spriteName, BioBrick, biobrick, Object externalPrefab = null ) : GenericDisplayedBioBrick,
getSpriteName ( BioBrick brick ) : string

Protected Methods

Method Description
Initialize ( GenericDisplayedBioBrick, biobrickScript, BioBrick, biobrick ) : void
OnPress ( bool isPressed ) : void
getDebugInfos ( ) : string

Private Methods

Method Description
OnHover ( bool isOver ) : void

Method Details

Create() public static method

public static Create ( Transform parentTransform, Vector3 localPosition, string spriteName, BioBrick, biobrick, Object externalPrefab = null ) : GenericDisplayedBioBrick,
parentTransform Transform
localPosition Vector3
spriteName string
biobrick BioBrick,
externalPrefab Object
return GenericDisplayedBioBrick,

Initialize() protected static method

protected static Initialize ( GenericDisplayedBioBrick, biobrickScript, BioBrick, biobrick ) : void
biobrickScript GenericDisplayedBioBrick,
biobrick BioBrick,
return void

OnPress() protected method

protected OnPress ( bool isPressed ) : void
isPressed bool
return void

getDebugInfos() protected method

protected getDebugInfos ( ) : string
return string

getSpriteName() public static method

public static getSpriteName ( BioBrick brick ) : string
brick BioBrick
return string

Property Details

_biobrick public_oe property

public BioBrick, _biobrick
return BioBrick,

genericPrefab public_oe static_oe property

public static Object,UnityEngine genericPrefab
return UnityEngine.Object

prefabURI public_oe static_oe property

public static string prefabURI
return string

spriteNamesDico public_oe static_oe property

public static Dictionary spriteNamesDico
return string>.Dictionary