C# Class DisplayedDevice, Hero.Coli

Inheritance: MonoBehaviour
Afficher le fichier Open project: CyberCRI/Hero.Coli Class Usage Examples

Méthodes publiques

Свойство Type Description
_device Device,
_deviceType DevicesDisplayer.DeviceType
equipedWithMoleculesPrefabURI string
equipmentPrefabURI string

Protected Properties

Свойство Type Description
_devicesDisplayer DevicesDisplayer,

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
OnDestroy ( ) : void
OnHover ( bool isOver ) : void
OnPress ( bool isPressed ) : void
getDebugInfos ( ) : string

Private Methods

Méthode Description
getLevelPostfix ( Device, device ) : string
getTextureName ( string proteinName ) : string

Method Details

Create() public static méthode

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,
Résultat DisplayedDevice,

Initialize() public static méthode

public static Initialize ( DisplayedDevice, displayedDeviceScript, Device, device, DevicesDisplayer, devicesDisplayer, DevicesDisplayer, deviceType ) : void
displayedDeviceScript DisplayedDevice,
device Device,
devicesDisplayer DevicesDisplayer,
deviceType DevicesDisplayer,
Résultat void

OnDestroy() protected méthode

protected OnDestroy ( ) : void
Résultat void

OnHover() protected méthode

protected OnHover ( bool isOver ) : void
isOver bool
Résultat void

OnPress() protected méthode

protected OnPress ( bool isPressed ) : void
isPressed bool
Résultat void

getDebugInfos() protected méthode

protected getDebugInfos ( ) : string
Résultat string

getTextureName() public static méthode

public static getTextureName ( Device, device ) : string
device Device,
Résultat string

Property Details

_device public_oe property

public Device, _device
Résultat Device,

_deviceType public_oe property

public DevicesDisplayer.DeviceType _deviceType
Résultat DevicesDisplayer.DeviceType

_devicesDisplayer protected_oe static_oe property

protected static DevicesDisplayer, _devicesDisplayer
Résultat DevicesDisplayer,

equipedWithMoleculesPrefabURI public_oe static_oe property

public static string equipedWithMoleculesPrefabURI
Résultat string

equipmentPrefabURI public_oe static_oe property

public static string equipmentPrefabURI
Résultat string