Свойство | Type | Description | |
---|---|---|---|
Script | CRocketPart, | ||
isRevealed | bool | ||
numberOfDefinedRocketParts | int | ||
rocketPartType | eRocketPartType |
Méthode | Description | |
---|---|---|
IsVisible ( ) : bool |
Just a shortcut for the visibility of the part in the VisibilityControl script
|
|
PartIsRevealed ( ) : void |
Reveal a part in the scene, enabling it's rendering
|
|
PartIsUnrevealed ( ) : void |
Hide a part in the scene, disabling it's rendering
|
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
OnDestroy ( ) : void |
What to do when this object is destroyed
|
|
OnDisable ( ) : void |
What to do when this object is disabled
|
|
OnEnable ( ) : void |
What to do when this object is enabled
|
|
OnSabotageStatusChange ( CBuilding, buildingEventRaiser, bool bnSabotageStatus ) : void |
Called by an event when a building is sabotaged or fixed. If the Lab got sabotaged, we lost the view of the researched parts
|
|
Start ( ) : void | ||
Update ( ) : void |