Class AsteroidController
Inheritance
AsteroidController
Syntax
public class AsteroidController : MonoBehaviour
Fields
asteroidExplosion
Declaration
public GameObject asteroidExplosion
Field Value
Methods
GetDirection()
Declaration
public Vector2 GetDirection()
Returns
GetSplitCount()
Declaration
public int GetSplitCount()
Returns
Move()
Declaration
SetDirection(Vector2)
Declaration
public void SetDirection(Vector2 value)
Parameters
Type |
Name |
Description |
Vector2 |
value |
|
SetSplitCount(Int32)
Declaration
public void SetSplitCount(int value)
Parameters
Type |
Name |
Description |
Int32 |
value |
|
Split()
Declaration