samedi 24 octobre 2015

The best way to implement different behaviour's using the same abstraction

actually i'm developing a weapon system on unity where you can mount a weapon with three different kind of bullets and i have same structure for bullet prefab but the movement logic should be different for each one. I'm having problems with GetComponent to find abstracted scripts and interfaces, i'm searching for a good solution to implement this architecture. Thanks!

Aucun commentaire:

Enregistrer un commentaire