C# Class trainSpawner, UrsaMajor

Inheritance: MonoBehaviour
Afficher le fichier Open project: BJarv/UrsaMajor

Méthodes publiques

Свойство Type Description
deadTrain GameObject
deathDelay float
despawnBuffer float
exPoint int
exemptCars GameObject[]
fallAwayPoint Vector2
player GameObject
possTrains GameObject[]
railHeight float
shopCar GameObject
testCar GameObject
theShopCar GameObject
trainFallSpeed float
trains Queue
tutCar1 GameObject
tutCar2 GameObject
widthBetween float

Méthodes publiques

Méthode Description
KillTrain ( ) : void
appendTrain ( GameObject train ) : void
emptyDeadTrain ( ) : void
exitTele ( ) : Vector3
exitTele ( GameObject trainCheck ) : Vector3
headCenter ( ) : float
headCenter ( GameObject trainCheck ) : float
headPanel ( ) : GameObject
headPanel ( GameObject trainCheck ) : GameObject
headVault ( ) : Vector3
playerWithinFirst ( ) : bool

Private Methods

Méthode Description
FixedUpdate ( ) : void
QueueAndMove ( ) : void
QueueAndMove ( GameObject traincar ) : void
Start ( ) : void
Update ( ) : void
spawnShop ( ) : void

Method Details

KillTrain() public méthode

public KillTrain ( ) : void
Résultat void

appendTrain() public méthode

public appendTrain ( GameObject train ) : void
train GameObject
Résultat void

emptyDeadTrain() public méthode

public emptyDeadTrain ( ) : void
Résultat void

exitTele() public méthode

public exitTele ( ) : Vector3
Résultat Vector3

exitTele() public méthode

public exitTele ( GameObject trainCheck ) : Vector3
trainCheck GameObject
Résultat Vector3

headCenter() public méthode

public headCenter ( ) : float
Résultat float

headCenter() public méthode

public headCenter ( GameObject trainCheck ) : float
trainCheck GameObject
Résultat float

headPanel() public méthode

public headPanel ( ) : GameObject
Résultat GameObject

headPanel() public méthode

public headPanel ( GameObject trainCheck ) : GameObject
trainCheck GameObject
Résultat GameObject

headVault() public méthode

public headVault ( ) : Vector3
Résultat Vector3

playerWithinFirst() public méthode

public playerWithinFirst ( ) : bool
Résultat bool

Property Details

deadTrain public_oe property

public GameObject deadTrain
Résultat GameObject

deathDelay public_oe property

public float deathDelay
Résultat float

despawnBuffer public_oe property

public float despawnBuffer
Résultat float

exPoint public_oe static_oe property

public static int exPoint
Résultat int

exemptCars public_oe property

public GameObject[] exemptCars
Résultat GameObject[]

fallAwayPoint public_oe property

public Vector2 fallAwayPoint
Résultat Vector2

player public_oe property

public GameObject player
Résultat GameObject

possTrains public_oe property

public GameObject[] possTrains
Résultat GameObject[]

railHeight public_oe property

public float railHeight
Résultat float

shopCar public_oe property

public GameObject shopCar
Résultat GameObject

testCar public_oe property

public GameObject testCar
Résultat GameObject

theShopCar public_oe property

public GameObject theShopCar
Résultat GameObject

trainFallSpeed public_oe property

public float trainFallSpeed
Résultat float

trains public_oe property

public Queue trains
Résultat Queue

tutCar1 public_oe property

public GameObject tutCar1
Résultat GameObject

tutCar2 public_oe property

public GameObject tutCar2
Résultat GameObject

widthBetween public_oe property

public float widthBetween
Résultat float