C# Class SpawnPowerUps

Inheritance: MonoBehaviour
Exibir arquivo Open project: CRUKorg/SpaceSnap Class Usage Examples

Public Properties

Property Type Description
PowerUp1 UnityEngine.Rigidbody
PowerUp2 Rigidbody
PowerUp3 Rigidbody
TheCamera Camera
TheShip Transform
instance SpawnPowerUps
numOfPowerUps int
powerUpType PowerUpType

Public Methods

Method Description
CreateNextPowerUp ( ) : void
SpawnPowerUp ( float x, float z ) : void

Private Methods

Method Description
Start ( ) : void
Update ( ) : void

Method Details

CreateNextPowerUp() public method

public CreateNextPowerUp ( ) : void
return void

SpawnPowerUp() public method

public SpawnPowerUp ( float x, float z ) : void
x float
z float
return void

Property Details

PowerUp1 public_oe property

public Rigidbody,UnityEngine PowerUp1
return UnityEngine.Rigidbody

PowerUp2 public_oe property

public Rigidbody PowerUp2
return Rigidbody

PowerUp3 public_oe property

public Rigidbody PowerUp3
return Rigidbody

TheCamera public_oe property

public Camera TheCamera
return Camera

TheShip public_oe property

public Transform TheShip
return Transform

instance public_oe static_oe property

public static SpawnPowerUps instance
return SpawnPowerUps

numOfPowerUps public_oe static_oe property

public static int numOfPowerUps
return int

powerUpType public_oe property

public PowerUpType powerUpType
return PowerUpType