C# Class trainSpawner, UrsaMajor

Inheritance: MonoBehaviour
Show file Open project: BJarv/UrsaMajor

Public Properties

Property 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

Public Methods

Method 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

Method Description
FixedUpdate ( ) : void
QueueAndMove ( ) : void
QueueAndMove ( GameObject traincar ) : void
Start ( ) : void
Update ( ) : void
spawnShop ( ) : void

Method Details

KillTrain() public method

public KillTrain ( ) : void
return void

appendTrain() public method

public appendTrain ( GameObject train ) : void
train GameObject
return void

emptyDeadTrain() public method

public emptyDeadTrain ( ) : void
return void

exitTele() public method

public exitTele ( ) : Vector3
return Vector3

exitTele() public method

public exitTele ( GameObject trainCheck ) : Vector3
trainCheck GameObject
return Vector3

headCenter() public method

public headCenter ( ) : float
return float

headCenter() public method

public headCenter ( GameObject trainCheck ) : float
trainCheck GameObject
return float

headPanel() public method

public headPanel ( ) : GameObject
return GameObject

headPanel() public method

public headPanel ( GameObject trainCheck ) : GameObject
trainCheck GameObject
return GameObject

headVault() public method

public headVault ( ) : Vector3
return Vector3

playerWithinFirst() public method

public playerWithinFirst ( ) : bool
return bool

Property Details

deadTrain public property

public GameObject deadTrain
return GameObject

deathDelay public property

public float deathDelay
return float

despawnBuffer public property

public float despawnBuffer
return float

exPoint public static property

public static int exPoint
return int

exemptCars public property

public GameObject[] exemptCars
return GameObject[]

fallAwayPoint public property

public Vector2 fallAwayPoint
return Vector2

player public property

public GameObject player
return GameObject

possTrains public property

public GameObject[] possTrains
return GameObject[]

railHeight public property

public float railHeight
return float

shopCar public property

public GameObject shopCar
return GameObject

testCar public property

public GameObject testCar
return GameObject

theShopCar public property

public GameObject theShopCar
return GameObject

trainFallSpeed public property

public float trainFallSpeed
return float

trains public property

public Queue trains
return Queue

tutCar1 public property

public GameObject tutCar1
return GameObject

tutCar2 public property

public GameObject tutCar2
return GameObject

widthBetween public property

public float widthBetween
return float