C# Class SpawnAsteroid

Inheritance: Photon.MonoBehaviour
Mostrar archivo Open project: CRUKorg/SpaceSnap Class Usage Examples

Public Properties

Property Type Description
Asteroid_Blue UnityEngine.Rigidbody
Asteroid_Brown UnityEngine.Rigidbody
Asteroid_Green UnityEngine.Rigidbody
Asteroid_Grey UnityEngine.Rigidbody
Asteroid_Red UnityEngine.Rigidbody
TheCamera Camera
instance SpawnAsteroid,
offsetZ float

Public Methods

Method Description
LoadNextAsteroid ( ) : void

Private Methods

Method Description
CreateAsteroid ( Vector2 v ) : void
CreateAsteroid ( float x, float z ) : void
Start ( ) : void
Update ( ) : void

Method Details

LoadNextAsteroid() public method

public LoadNextAsteroid ( ) : void
return void

Property Details

Asteroid_Blue public_oe property

public Rigidbody,UnityEngine Asteroid_Blue
return UnityEngine.Rigidbody

Asteroid_Brown public_oe property

public Rigidbody,UnityEngine Asteroid_Brown
return UnityEngine.Rigidbody

Asteroid_Green public_oe property

public Rigidbody,UnityEngine Asteroid_Green
return UnityEngine.Rigidbody

Asteroid_Grey public_oe property

public Rigidbody,UnityEngine Asteroid_Grey
return UnityEngine.Rigidbody

Asteroid_Red public_oe property

public Rigidbody,UnityEngine Asteroid_Red
return UnityEngine.Rigidbody

TheCamera public_oe property

public Camera TheCamera
return Camera

instance public_oe static_oe property

public static SpawnAsteroid, instance
return SpawnAsteroid,

offsetZ public_oe property

public float offsetZ
return float