C# Class PlayerShipRenderer, asteroids-unity3d

Inheritance: MonoBehaviour
显示文件 Open project: vitorog/asteroids-unity3d

Public Methods

Method Description
AddObject ( GameObject ship ) : void
AddPlayerShip ( PlayerShip, player_ship ) : void

Private Methods

Method Description
Awake ( ) : void
CreateLineMaterial ( ) : void
DrawBoundingBox ( ) : void
DrawLines ( ) : void
DrawSquares ( float size ) : void
OnPostRender ( ) : void
RenderShip ( GameObject obj ) : void
Update ( ) : void

Method Details

AddObject() public method

public AddObject ( GameObject ship ) : void
ship GameObject
return void

AddPlayerShip() public method

public AddPlayerShip ( PlayerShip, player_ship ) : void
player_ship PlayerShip,
return void