C# Class trainSpawner, UrsaMajor

Inheritance: MonoBehaviour
Mostrar archivo 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_oe property

public GameObject deadTrain
return GameObject

deathDelay public_oe property

public float deathDelay
return float

despawnBuffer public_oe property

public float despawnBuffer
return float

exPoint public_oe static_oe property

public static int exPoint
return int

exemptCars public_oe property

public GameObject[] exemptCars
return GameObject[]

fallAwayPoint public_oe property

public Vector2 fallAwayPoint
return Vector2

player public_oe property

public GameObject player
return GameObject

possTrains public_oe property

public GameObject[] possTrains
return GameObject[]

railHeight public_oe property

public float railHeight
return float

shopCar public_oe property

public GameObject shopCar
return GameObject

testCar public_oe property

public GameObject testCar
return GameObject

theShopCar public_oe property

public GameObject theShopCar
return GameObject

trainFallSpeed public_oe property

public float trainFallSpeed
return float

trains public_oe property

public Queue trains
return Queue

tutCar1 public_oe property

public GameObject tutCar1
return GameObject

tutCar2 public_oe property

public GameObject tutCar2
return GameObject

widthBetween public_oe property

public float widthBetween
return float