C# Class DisplayedDevice, Hero.Coli

Inheritance: MonoBehaviour
Mostrar archivo Open project: CyberCRI/Hero.Coli Class Usage Examples

Public Properties

Property Type Description
_device Device,
_deviceType DevicesDisplayer.DeviceType
equipedWithMoleculesPrefabURI string
equipmentPrefabURI string

Protected Properties

Property Type Description
_devicesDisplayer DevicesDisplayer,

Public Methods

Method Description
Create ( Transform parentTransform, Vector3 localPosition, string spriteName, Device, device, DevicesDisplayer, devicesDisplayer, DevicesDisplayer, deviceType ) : DisplayedDevice,
Initialize ( DisplayedDevice, displayedDeviceScript, Device, device, DevicesDisplayer, devicesDisplayer, DevicesDisplayer, deviceType ) : void
getTextureName ( Device, device ) : string

Protected Methods

Method Description
OnDestroy ( ) : void
OnHover ( bool isOver ) : void
OnPress ( bool isPressed ) : void
getDebugInfos ( ) : string

Private Methods

Method Description
getLevelPostfix ( Device, device ) : string
getTextureName ( string proteinName ) : string

Method Details

Create() public static method

public static Create ( Transform parentTransform, Vector3 localPosition, string spriteName, Device, device, DevicesDisplayer, devicesDisplayer, DevicesDisplayer, deviceType ) : DisplayedDevice,
parentTransform Transform
localPosition Vector3
spriteName string
device Device,
devicesDisplayer DevicesDisplayer,
deviceType DevicesDisplayer,
return DisplayedDevice,

Initialize() public static method

public static Initialize ( DisplayedDevice, displayedDeviceScript, Device, device, DevicesDisplayer, devicesDisplayer, DevicesDisplayer, deviceType ) : void
displayedDeviceScript DisplayedDevice,
device Device,
devicesDisplayer DevicesDisplayer,
deviceType DevicesDisplayer,
return void

OnDestroy() protected method

protected OnDestroy ( ) : void
return void

OnHover() protected method

protected OnHover ( bool isOver ) : void
isOver bool
return void

OnPress() protected method

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

getDebugInfos() protected method

protected getDebugInfos ( ) : string
return string

getTextureName() public static method

public static getTextureName ( Device, device ) : string
device Device,
return string

Property Details

_device public_oe property

public Device, _device
return Device,

_deviceType public_oe property

public DevicesDisplayer.DeviceType _deviceType
return DevicesDisplayer.DeviceType

_devicesDisplayer protected_oe static_oe property

protected static DevicesDisplayer, _devicesDisplayer
return DevicesDisplayer,

equipedWithMoleculesPrefabURI public_oe static_oe property

public static string equipedWithMoleculesPrefabURI
return string

equipmentPrefabURI public_oe static_oe property

public static string equipmentPrefabURI
return string