C# Class LightSource, UnderworldExporter

Inheritance: MonoBehaviour
Afficher le fichier Open project: hankmorgan/UnderworldExporter Class Usage Examples

Méthodes publiques

Свойство Type Description
Brightness int
IsOn bool
ItemIdOff int
ItemIdOn int
LightTimer float
LightTimerMax float
MagicBrightness int

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
lightStatusText ( ) : string

Returns a string identifying the state of the light source

Method Details

ActivateByObject() public méthode

public ActivateByObject ( GameObject ObjectUsed ) : bool
ObjectUsed GameObject
Résultat bool

LookAt() public méthode

public LookAt ( ) : bool
Résultat bool

PutItemAwayEvent() public méthode

public PutItemAwayEvent ( int slotNo ) : bool
slotNo int
Résultat bool

SetOff() public méthode

Turns the light off
public SetOff ( ) : void
Résultat void

SetOn() public méthode

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

Update() public méthode

Ticks down the light source
public Update ( ) : void
Résultat void

UseVerb() public méthode

public UseVerb ( ) : string
Résultat string

use() public méthode

public use ( ) : bool
Résultat bool

Property Details

Brightness public_oe property

public int Brightness
Résultat int

IsOn public_oe property

public bool IsOn
Résultat bool

ItemIdOff public_oe property

public int ItemIdOff
Résultat int

ItemIdOn public_oe property

public int ItemIdOn
Résultat int

LightTimer public_oe property

public float LightTimer
Résultat float

LightTimerMax public_oe property

public float LightTimerMax
Résultat float

MagicBrightness public_oe static_oe property

public static int MagicBrightness
Résultat int