C# Class DevicesDisplayer, Hero.Coli

Inheritance: MonoBehaviour
显示文件 Open project: CyberCRI/Hero.Coli Class Usage Examples

Public Properties

Property Type Description
equipPanel UIPanel,
equipedDevice GameObject
equipedDevice2 GameObject
gameObjectName string
graphMoleculeList GraphMoleculeList,
inventoryDevice GameObject
inventoryPanel UIPanel,
listedInventoryDevice GameObject
listedInventoryPanel UIPanel,

Public Methods

Method Description
IsEquipScreen ( ) : bool
IsScreen ( int screen ) : bool
UpdateScreen ( ) : void
addEquipedDevice ( Device, device ) : void
addInventoriedDevice ( Device, device ) : void
askAddEquipedDevice ( Device, device ) : DeviceContainer.AddingResult
askRemoveEquipedDevice ( Device, device ) : bool
get ( ) : DevicesDisplayer,
getNewPosition ( DeviceType deviceType, int index = -1 ) : Vector3
getTextureQuality ( ) : TextureQuality
removeDevice ( DevicesDisplayer, type, Device, toRemove ) : void
removeDevice ( int deviceID ) : void
removeEquipedDevice ( Device, toRemove ) : void
removeInventoriedDevice ( Device, toRemove ) : void
removeListedDevice ( Device, toRemove ) : void

Private Methods

Method Description
Awake ( ) : void
SafeGetTransitioner ( ) : GUITransitioner,
Start ( ) : void
redraw ( List devices, DeviceType deviceType, int startIndex ) : void
removeDevice ( DisplayedDevice, toRemove, List devices, DeviceType deviceType ) : void

Method Details

IsEquipScreen() public method

public IsEquipScreen ( ) : bool
return bool

IsScreen() public method

public IsScreen ( int screen ) : bool
screen int
return bool

UpdateScreen() public method

public UpdateScreen ( ) : void
return void

addEquipedDevice() public method

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

addInventoriedDevice() public method

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

askAddEquipedDevice() public method

public askAddEquipedDevice ( Device, device ) : DeviceContainer.AddingResult
device Device,
return DeviceContainer.AddingResult

askRemoveEquipedDevice() public method

public askRemoveEquipedDevice ( Device, device ) : bool
device Device,
return bool

get() public static method

public static get ( ) : DevicesDisplayer,
return DevicesDisplayer,

getNewPosition() public method

public getNewPosition ( DeviceType deviceType, int index = -1 ) : Vector3
deviceType DeviceType
index int
return Vector3

getTextureQuality() public static method

public static getTextureQuality ( ) : TextureQuality
return TextureQuality

removeDevice() public method

public removeDevice ( DevicesDisplayer, type, Device, toRemove ) : void
type DevicesDisplayer,
toRemove Device,
return void

removeDevice() public method

public removeDevice ( int deviceID ) : void
deviceID int
return void

removeEquipedDevice() public method

public removeEquipedDevice ( Device, toRemove ) : void
toRemove Device,
return void

removeInventoriedDevice() public method

public removeInventoriedDevice ( Device, toRemove ) : void
toRemove Device,
return void

removeListedDevice() public method

public removeListedDevice ( Device, toRemove ) : void
toRemove Device,
return void

Property Details

equipPanel public_oe property

public UIPanel, equipPanel
return UIPanel,

equipedDevice public_oe property

public GameObject equipedDevice
return GameObject

equipedDevice2 public_oe property

public GameObject equipedDevice2
return GameObject

gameObjectName public_oe static_oe property

public static string gameObjectName
return string

graphMoleculeList public_oe property

public GraphMoleculeList, graphMoleculeList
return GraphMoleculeList,

inventoryDevice public_oe property

public GameObject inventoryDevice
return GameObject

inventoryPanel public_oe property

public UIPanel, inventoryPanel
return UIPanel,

listedInventoryDevice public_oe property

public GameObject listedInventoryDevice
return GameObject

listedInventoryPanel public_oe property

public UIPanel, listedInventoryPanel
return UIPanel,