C# Class AsteroidRenderer, asteroids-unity3d

Inheritance: MonoBehaviour
Mostra file Open project: vitorog/asteroids-unity3d

Public Methods

Method Description
AddObject ( Asteroid, asteroid, int type ) : void

Private Methods

Method Description
Awake ( ) : void
CreateLineMaterial ( ) : void
DrawBoundingBox ( ) : void
DrawLines ( int index ) : void
DrawSquares ( float size, int index ) : void
OnPostRender ( ) : void
RenderAsteroid ( Asteroid, asteroid, int index ) : void
Update ( ) : void

Method Details

AddObject() public method

public AddObject ( Asteroid, asteroid, int type ) : void
asteroid Asteroid,
type int
return void