C# 클래스 LightSource, UnderworldExporter

상속: MonoBehaviour
파일 보기 프로젝트 열기: hankmorgan/UnderworldExporter 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Brightness int
IsOn bool
ItemIdOff int
ItemIdOn int
LightTimer float
LightTimerMax float
MagicBrightness int

공개 메소드들

메소드 설명
ActivateByObject ( GameObject ObjectUsed ) : bool
LookAt ( ) : bool
PutItemAwayEvent ( int slotNo ) : bool
SetOff ( ) : void

Turns the light off

SetOn ( ) : void

Turns the light on if there is a free inventory slot to hold it in.

Update ( ) : void

Ticks down the light source

UseVerb ( ) : string
use ( ) : bool

비공개 메소드들

메소드 설명
lightStatusText ( ) : string

Returns a string identifying the state of the light source

메소드 상세

ActivateByObject() 공개 메소드

public ActivateByObject ( GameObject ObjectUsed ) : bool
ObjectUsed GameObject
리턴 bool

LookAt() 공개 메소드

public LookAt ( ) : bool
리턴 bool

PutItemAwayEvent() 공개 메소드

public PutItemAwayEvent ( int slotNo ) : bool
slotNo int
리턴 bool

SetOff() 공개 메소드

Turns the light off
public SetOff ( ) : void
리턴 void

SetOn() 공개 메소드

Turns the light on if there is a free inventory slot to hold it in.
public SetOn ( ) : void
리턴 void

Update() 공개 메소드

Ticks down the light source
public Update ( ) : void
리턴 void

UseVerb() 공개 메소드

public UseVerb ( ) : string
리턴 string

use() 공개 메소드

public use ( ) : bool
리턴 bool

프로퍼티 상세

Brightness 공개적으로 프로퍼티

public int Brightness
리턴 int

IsOn 공개적으로 프로퍼티

public bool IsOn
리턴 bool

ItemIdOff 공개적으로 프로퍼티

public int ItemIdOff
리턴 int

ItemIdOn 공개적으로 프로퍼티

public int ItemIdOn
리턴 int

LightTimer 공개적으로 프로퍼티

public float LightTimer
리턴 float

LightTimerMax 공개적으로 프로퍼티

public float LightTimerMax
리턴 float

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

public static int MagicBrightness
리턴 int