C# Class GraphMoleculeList, Hero.Coli

Inheritance: MonoBehaviour
显示文件 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_oe property

public Vector3 currentHeight
return Vector3

debugName public_oe property

public string debugName
return string

displayAll public_oe property

public bool displayAll
return bool

equipedDeviceDummy public_oe property

public GameObject equipedDeviceDummy
return GameObject

equipedWithMoleculesDeviceDummy public_oe property

public GameObject equipedWithMoleculesDeviceDummy
return GameObject

equipmentDeviceDummy public_oe property

public GameObject equipmentDeviceDummy
return GameObject

mediumId public_oe property

public int mediumId
return int

namesLabel public_oe property

public UILabel, namesLabel
return UILabel,

topLabels public_oe property

public UILabel, topLabels
return UILabel,

topLabelsShift public_oe property

public Vector3 topLabelsShift
return Vector3

topValues public_oe property

public UILabel, topValues
return UILabel,

topValuesShift public_oe property

public Vector3 topValuesShift
return Vector3

unfoldingMoleculeList public_oe property

public GameObject unfoldingMoleculeList
return GameObject

valuesLabel public_oe property

public UILabel, valuesLabel
return UILabel,