|
bool | Create (GameObject stageItemPrefab, RectTransform contentParent, GameObject engineItemPrefab, GameObject propellantItemPrefab, GameObject partsListPrefab, DeltaVStageInfo stageInfo, CalcType type) |
| Create a ScreenDeltaVStageInfo UI element and associated ScreenDeltaVPartsListInfo, VesselDebugDeltaVEngineInfo, ScreenDeltaVPropellantInfo UI elements. More...
|
|
void | Destroy () |
| Destroy all the Related UI GameObjects. More...
|
|
void | SetActive (bool active, bool partsActive, bool enginesActive) |
| Set the related UI GameObjects based on input bools. More...
|
|
bool | Update (DeltaVStageInfo stageInfo, CalcType type, string calctypeDesc, bool showEngines, bool showParts, bool showAllStages) |
| Update the StageInfo, PartsList, Engines and Propellants UI objects. More...
|
|
| VesselDebugDeltaVInfo (int stage) |
| Constructor More...
|
|
KSP.UI.Screens.DebugToolbar.Screens.Debug.VesselDebugDeltaVInfo.VesselDebugDeltaVInfo |
( |
int |
stage | ) |
|
|
inline |
bool KSP.UI.Screens.DebugToolbar.Screens.Debug.VesselDebugDeltaVInfo.Create |
( |
GameObject |
stageItemPrefab, |
|
|
RectTransform |
contentParent, |
|
|
GameObject |
engineItemPrefab, |
|
|
GameObject |
propellantItemPrefab, |
|
|
GameObject |
partsListPrefab, |
|
|
DeltaVStageInfo |
stageInfo, |
|
|
CalcType |
type |
|
) |
| |
|
inline |
void KSP.UI.Screens.DebugToolbar.Screens.Debug.VesselDebugDeltaVInfo.Destroy |
( |
| ) |
|
|
inline |
Destroy all the Related UI GameObjects.
void KSP.UI.Screens.DebugToolbar.Screens.Debug.VesselDebugDeltaVInfo.SetActive |
( |
bool |
active, |
|
|
bool |
partsActive, |
|
|
bool |
enginesActive |
|
) |
| |
|
inline |
Set the related UI GameObjects based on input bools.
- Parameters
-
active | Sets the overall StageInfo UI gameobject |
partsActive | Sets the PartsList UI gameobject |
enginesActive | Sets the Engines and Propellants UI gameobjects |
bool KSP.UI.Screens.DebugToolbar.Screens.Debug.VesselDebugDeltaVInfo.Update |
( |
DeltaVStageInfo |
stageInfo, |
|
|
CalcType |
type, |
|
|
string |
calctypeDesc, |
|
|
bool |
showEngines, |
|
|
bool |
showParts, |
|
|
bool |
showAllStages |
|
) |
| |
|
inline |
Update the StageInfo, PartsList, Engines and Propellants UI objects.
- Parameters
-
stageInfo | The related DeltaV Stage Info |
type | The Calculation Type description string. |
calctypeDesc | The Calculation type description |
showEngines | Whether to show engine and propellant info or not. |
showParts | Whether to show the PartsList or not. |
showAllStages | Whether to show all stages or only stages with active engines. |
- Returns
DeltaVStageInfo KSP.UI.Screens.DebugToolbar.Screens.Debug.VesselDebugDeltaVInfo.stageInfo |
The related DeltaV Stage Info
The documentation for this class was generated from the following file: