C# 클래스 BaseModifier, r2d2_assignment

Base class for player modifier/powerup
상속: MonoBehaviour
파일 보기 프로젝트 열기: timmutton/r2d2_assignment 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DurationSeconds float
OverlayColor Color
White UnityEngine.Texture2D

공개 메소드들

메소드 설명
OnGUI ( ) : void
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
Activate ( ) : void
DeactivateAndDestroy ( ) : void
IsExhausted ( ) : bool
OnSecondsPassed ( float seconds ) : void

메소드 상세

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

DurationSeconds 공개적으로 프로퍼티

Gets and sets powerup lasting time
public float DurationSeconds
리턴 float

OverlayColor 공개적으로 프로퍼티

Screen overlay will be drawn using basic texture and this color.
public Color OverlayColor
리턴 Color

White 공개적으로 프로퍼티

Base overlay texture
public Texture2D,UnityEngine White
리턴 UnityEngine.Texture2D