C# 클래스 CRocketPart, astrochimps

Class with definitions for the rocket parts The rocket parts are scattered in the map. The player must find it all, so it can assemble a rocket to send his team to Mars
상속: CBaseEntity
파일 보기 프로젝트 열기: arcoelho01/astrochimps 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Script CRocketPart,
isRevealed bool
numberOfDefinedRocketParts int
rocketPartType eRocketPartType

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

IsVisible() 공개 메소드

Just a shortcut for the visibility of the part in the VisibilityControl script
public IsVisible ( ) : bool
리턴 bool

PartIsRevealed() 공개 메소드

Reveal a part in the scene, enabling it's rendering
public PartIsRevealed ( ) : void
리턴 void

PartIsUnrevealed() 공개 메소드

Hide a part in the scene, disabling it's rendering
public PartIsUnrevealed ( ) : void
리턴 void

프로퍼티 상세

Script 공개적으로 정적으로 프로퍼티

public static CRocketPart, Script
리턴 CRocketPart,

isRevealed 공개적으로 프로퍼티

public bool isRevealed
리턴 bool

numberOfDefinedRocketParts 공개적으로 프로퍼티

public int numberOfDefinedRocketParts
리턴 int

rocketPartType 공개적으로 프로퍼티

public eRocketPartType rocketPartType
리턴 eRocketPartType