Answer by tanoshimi
Sounds like you want to use [delegates][1]. [1]: http://unity3d.com/learn/tutorials/modules/intermediate/scripting/delegates
View ArticleAnswer by InvincibleCat
I would use an enum that can be set in the editor: public enum E_Ability { FireBall, SoccerBall } //editable in the inspector public E_Ability Ability = E_Ability.FireBall; public Action DoAbility =...
View ArticleAnswer by jpthek9
Invoke ("AbilityName") That was all I needed :p Special thanks to InvincibleCat for reminding me of that method.
View Article
More Pages to Explore .....