C# Class GraphMoleculeList, Hero.Coli

Inheritance: MonoBehaviour
Show file Open project: CyberCRI/Hero.Coli

Public Properties

Property Type Description
currentHeight Vector3
debugName string
displayAll bool
equipedDeviceDummy GameObject
equipedWithMoleculesDeviceDummy GameObject
equipmentDeviceDummy GameObject
mediumId int
namesLabel UILabel,
topLabels UILabel,
topLabelsShift Vector3
topValues UILabel,
topValuesShift Vector3
unfoldingMoleculeList GameObject
valuesLabel UILabel,

Public Methods

Method Description
addDeviceAndMoleculesComponent ( DisplayedDevice, equipedDeviceScript ) : void
removeDeviceAndMoleculesComponent ( Device, device ) : void
setMediumId ( int newMediumId ) : void

Private Methods

Method Description
Awake ( ) : void
Start ( ) : void
Update ( ) : void
displayMoleculeInDevice ( DisplayedMolecule, molecule, EquipedDisplayedDeviceWithMolecules, eddwm ) : void
displayMoleculeInList ( EquipedDisplayedDeviceWithMolecules, eddwm ) : void
getNewPosition ( int index = -1 ) : Vector3
isAlreadyDisplayedInADevice ( string moleculeCodeName ) : bool
positionDeviceAndMoleculeComponents ( int startIndex ) : void
removeUnusedMolecules ( ) : void
resetMoleculeList ( ) : void
safeInitialization ( ) : void
setUnfoldingListBackgroundScale ( ) : void
shiftDeviceAndMoleculeComponents ( int removedIndex ) : void
updateDisplayedListMoleculesCount ( ) : void

Method Details

addDeviceAndMoleculesComponent() public method

public addDeviceAndMoleculesComponent ( DisplayedDevice, equipedDeviceScript ) : void
equipedDeviceScript DisplayedDevice,
return void

removeDeviceAndMoleculesComponent() public method

public removeDeviceAndMoleculesComponent ( Device, device ) : void
device Device,
return void

setMediumId() public method

public setMediumId ( int newMediumId ) : void
newMediumId int
return void

Property Details

currentHeight public property

public Vector3 currentHeight
return Vector3

debugName public property

public string debugName
return string

displayAll public property

public bool displayAll
return bool

equipedDeviceDummy public property

public GameObject equipedDeviceDummy
return GameObject

equipedWithMoleculesDeviceDummy public property

public GameObject equipedWithMoleculesDeviceDummy
return GameObject

equipmentDeviceDummy public property

public GameObject equipmentDeviceDummy
return GameObject

mediumId public property

public int mediumId
return int

namesLabel public property

public UILabel, namesLabel
return UILabel,

topLabels public property

public UILabel, topLabels
return UILabel,

topLabelsShift public property

public Vector3 topLabelsShift
return Vector3

topValues public property

public UILabel, topValues
return UILabel,

topValuesShift public property

public Vector3 topValuesShift
return Vector3

unfoldingMoleculeList public property

public GameObject unfoldingMoleculeList
return GameObject

valuesLabel public property

public UILabel, valuesLabel
return UILabel,