C# Class FarmManager, gro-ui

Inheritance: MonoBehaviour
显示文件 Open project: OpenAgInitiative/gro-ui Class Usage Examples

Public Properties

Property Type Description
AddPlantButton Button
AddPlantExpanded bool
AddPlantModulePrefab GameObject
AddPlantPanel GameObject
AdjustExpanded bool
AdjustPanel GameObject
AdjustSystemModulePrefab GameObject
DownloadDataModulePrefab GameObject
DownloadExpanded bool
DownloadPanel GameObject
HarvestButton Button
HarvestExpanded bool
HarvestModulePrefab GameObject
HarvestPanel GameObject
activeObject Transform
defaultPlantModel GameObject
emptySite GameObject
enclosurePrefab GameObject
genericPrefab GameObject
plantModelMap List
sensingPointPrefab GameObject
sitePrefab GameObject
testPlantLeaf GameObject
testSitePrefab GameObject
trayPrefab GameObject

Public Methods

Method Description
Awake ( ) : void
GetPlantModel ( string plantType ) : GameObject
Initialize ( string URL ) : IEnumerator
InitializeFarm ( string URL ) : void
LoadFarmObject ( string URL ) : IEnumerator
SetActiveObject ( Transform newActiveObject ) : void
StartAddPlantModule ( ) : void
StartAdjustModule ( ) : void
StartDownloadDataModule ( ) : void
StartHarvestModule ( ) : void

Private Methods

Method Description
InitializerHelp ( GameObject obj ) : IEnumerator

Method Details

Awake() public method

public Awake ( ) : void
return void

GetPlantModel() public method

public GetPlantModel ( string plantType ) : GameObject
plantType string
return GameObject

Initialize() public method

public Initialize ( string URL ) : IEnumerator
URL string
return IEnumerator

InitializeFarm() public method

public InitializeFarm ( string URL ) : void
URL string
return void

LoadFarmObject() public method

public LoadFarmObject ( string URL ) : IEnumerator
URL string
return IEnumerator

SetActiveObject() public method

public SetActiveObject ( Transform newActiveObject ) : void
newActiveObject Transform
return void

StartAddPlantModule() public method

public StartAddPlantModule ( ) : void
return void

StartAdjustModule() public method

public StartAdjustModule ( ) : void
return void

StartDownloadDataModule() public method

public StartDownloadDataModule ( ) : void
return void

StartHarvestModule() public method

public StartHarvestModule ( ) : void
return void

Property Details

AddPlantButton public_oe property

public Button AddPlantButton
return Button

AddPlantExpanded public_oe property

public bool AddPlantExpanded
return bool

AddPlantModulePrefab public_oe property

public GameObject AddPlantModulePrefab
return GameObject

AddPlantPanel public_oe property

public GameObject AddPlantPanel
return GameObject

AdjustExpanded public_oe property

public bool AdjustExpanded
return bool

AdjustPanel public_oe property

public GameObject AdjustPanel
return GameObject

AdjustSystemModulePrefab public_oe property

public GameObject AdjustSystemModulePrefab
return GameObject

DownloadDataModulePrefab public_oe property

public GameObject DownloadDataModulePrefab
return GameObject

DownloadExpanded public_oe property

public bool DownloadExpanded
return bool

DownloadPanel public_oe property

public GameObject DownloadPanel
return GameObject

HarvestButton public_oe property

public Button HarvestButton
return Button

HarvestExpanded public_oe property

public bool HarvestExpanded
return bool

HarvestModulePrefab public_oe property

public GameObject HarvestModulePrefab
return GameObject

HarvestPanel public_oe property

public GameObject HarvestPanel
return GameObject

activeObject public_oe property

public Transform activeObject
return Transform

defaultPlantModel public_oe property

public GameObject defaultPlantModel
return GameObject

emptySite public_oe property

public GameObject emptySite
return GameObject

enclosurePrefab public_oe property

public GameObject enclosurePrefab
return GameObject

genericPrefab public_oe property

public GameObject genericPrefab
return GameObject

plantModelMap public_oe property

public List plantModelMap
return List

sensingPointPrefab public_oe property

public GameObject sensingPointPrefab
return GameObject

sitePrefab public_oe property

public GameObject sitePrefab
return GameObject

testPlantLeaf public_oe property

public GameObject testPlantLeaf
return GameObject

testSitePrefab public_oe property

public GameObject testSitePrefab
return GameObject

trayPrefab public_oe property

public GameObject trayPrefab
return GameObject