C# Class CaveworldFlora.ClusterPlant_DevilTongue

Inheritance: ClusterPlant
Afficher le fichier Open project: Rikiki123456789/Rimworld

Méthodes publiques

Свойство Type Description
flowerClosingRemainingTicks int
flowerMatrix UnityEngine.Matrix4x4
flowerOpeningTicks int
flowerScale Vector3
flowerState FlowerState
flowerTexture UnityEngine.Material
nextLongTick int
nextNearbyPawnCheckTick int

Méthodes publiques

Méthode Description
Draw ( ) : void
ExposeData ( ) : void

Save and load internal state variables (stored in savegame data).

PlantCollected ( ) : void
SpawnSetup ( ) : void
Tick ( ) : void

Main function: - look for nearby pawn: if any is found, close flower and glower. - when pawn is away, re-open flower after a delay.

Méthodes protégées

Méthode Description
CloseFlower ( ) : void
IsPawnNearby ( ) : bool
LookForNearbyPawnWhenClosed ( ) : void
LookForNearbyPawnWhenOpened ( ) : void
OpenFlower ( ) : void
TransitionToClosed ( ) : void
TransitionToClosing ( ) : void
TransitionToOpened ( ) : void
TransitionToOpening ( ) : void

Method Details

CloseFlower() protected méthode

protected CloseFlower ( ) : void
Résultat void

Draw() public méthode

public Draw ( ) : void
Résultat void

ExposeData() public méthode

Save and load internal state variables (stored in savegame data).
public ExposeData ( ) : void
Résultat void

IsPawnNearby() protected méthode

protected IsPawnNearby ( ) : bool
Résultat bool

LookForNearbyPawnWhenClosed() protected méthode

protected LookForNearbyPawnWhenClosed ( ) : void
Résultat void

LookForNearbyPawnWhenOpened() protected méthode

protected LookForNearbyPawnWhenOpened ( ) : void
Résultat void

OpenFlower() protected méthode

protected OpenFlower ( ) : void
Résultat void

PlantCollected() public méthode

public PlantCollected ( ) : void
Résultat void

SpawnSetup() public méthode

public SpawnSetup ( ) : void
Résultat void

Tick() public méthode

Main function: - look for nearby pawn: if any is found, close flower and glower. - when pawn is away, re-open flower after a delay.
public Tick ( ) : void
Résultat void

TransitionToClosed() protected méthode

protected TransitionToClosed ( ) : void
Résultat void

TransitionToClosing() protected méthode

protected TransitionToClosing ( ) : void
Résultat void

TransitionToOpened() protected méthode

protected TransitionToOpened ( ) : void
Résultat void

TransitionToOpening() protected méthode

protected TransitionToOpening ( ) : void
Résultat void

Property Details

flowerClosingRemainingTicks public_oe property

public int flowerClosingRemainingTicks
Résultat int

flowerMatrix public_oe property

public Matrix4x4,UnityEngine flowerMatrix
Résultat UnityEngine.Matrix4x4

flowerOpeningTicks public_oe property

public int flowerOpeningTicks
Résultat int

flowerScale public_oe property

public Vector3 flowerScale
Résultat Vector3

flowerState public_oe property

public FlowerState flowerState
Résultat FlowerState

flowerTexture public_oe static_oe property

public static Material,UnityEngine flowerTexture
Résultat UnityEngine.Material

nextLongTick public_oe property

public int nextLongTick
Résultat int

nextNearbyPawnCheckTick public_oe property

public int nextNearbyPawnCheckTick
Résultat int