antfarmar / Unity-3D-Asteroids

A simple Asteroids clone. In 3D.
The Unlicense
65 stars 15 forks source link

Asteroid Behaviour Script: Make a Base Class? #10

Closed antfarmar closed 8 years ago

antfarmar commented 8 years ago

Currently 1 script is used to dictate the behaviour of both (big & small) asteroid prefabs. It also generates the spawn location and physical forces applied to it.

Asteroid Behaviours:

Options:

antfarmar commented 8 years ago

Abstract class AsteroidBaseBehaviour script implemented.

Only 1 abstract method: HandleTriggerEnter

See commit d6f8b41 on development branch.