C# Class DoorControl, UnderworldExporter

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

Méthodes publiques

Свойство Type Description
DR int
DoorBusy bool
KeyIndex int
Pickable bool
Spiked bool
UseLink string
isPortcullis bool
locked bool
state bool

Méthodes publiques

Méthode Description
Activate ( ) : bool
ActivateByObject ( GameObject ObjectUsed ) : bool
ApplyAttack ( int damage ) : bool
ApplyAttack ( int damage, GameObject source ) : bool
CloseDoor ( ) : void

Closes the door.

LockDoor ( ) : void

Locks the door.

LookAt ( ) : bool
OpenDoor ( ) : void

Opens the door.

Spike ( ) : bool

Spike this door. Blocks NPC from opening

ToggleDoor ( ) : void

Toggles the door open or closed.

ToggleLock ( ) : void

Toggles the lock state

UnlockDoor ( ) : void

Unlocks the door.

UseObjectOnVerb_World ( ) : string
UseVerb ( ) : string
use ( ) : bool

Private Methods

Méthode Description
DoorQuality ( ) : string

Gets the door condition

RaiseDoor ( Transform door, Vector3 TransformDir, float traveltime ) : IEnumerator

Raises the portcullis

RotateDoor ( Transform door, Vector3 turningAngle, float traveltime ) : IEnumerator

Rotates the door open or closed

Method Details

Activate() public méthode

public Activate ( ) : bool
Résultat bool

ActivateByObject() public méthode

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

ApplyAttack() public méthode

public ApplyAttack ( int damage ) : bool
damage int
Résultat bool

ApplyAttack() public méthode

public ApplyAttack ( int damage, GameObject source ) : bool
damage int
source GameObject
Résultat bool

CloseDoor() public méthode

Closes the door.
public CloseDoor ( ) : void
Résultat void

LockDoor() public méthode

Locks the door.
public LockDoor ( ) : void
Résultat void

LookAt() public méthode

public LookAt ( ) : bool
Résultat bool

OpenDoor() public méthode

Opens the door.
public OpenDoor ( ) : void
Résultat void

Spike() public méthode

Spike this door. Blocks NPC from opening
public Spike ( ) : bool
Résultat bool

ToggleDoor() public méthode

Toggles the door open or closed.
public ToggleDoor ( ) : void
Résultat void

ToggleLock() public méthode

Toggles the lock state
public ToggleLock ( ) : void
Résultat void

UnlockDoor() public méthode

Unlocks the door.
public UnlockDoor ( ) : void
Résultat void

UseObjectOnVerb_World() public méthode

public UseObjectOnVerb_World ( ) : string
Résultat string

UseVerb() public méthode

public UseVerb ( ) : string
Résultat string

use() public méthode

public use ( ) : bool
Résultat bool

Property Details

DR public_oe property

public int DR
Résultat int

DoorBusy public_oe property

public bool DoorBusy
Résultat bool

KeyIndex public_oe property

public int KeyIndex
Résultat int

Pickable public_oe property

public bool Pickable
Résultat bool

Spiked public_oe property

public bool Spiked
Résultat bool

UseLink public_oe property

public string UseLink
Résultat string

isPortcullis public_oe property

public bool isPortcullis
Résultat bool

locked public_oe property

public bool locked
Résultat bool

state public_oe property

public bool state
Résultat bool