- Home /
Question by
davidhughes3d · Sep 27, 2016 at 10:41 AM ·
scripting beginnerintegration
Exploder integration into Emerald AI
Has anyone got the Exploder Asset (script) from the Asset store to work with Emerald AI? Can you provide the snippet you used to and where to put it in the Emerald_Animal_AI.cs, if possible?
Comment
Answer by davidhughes3d · Sep 29, 2016 at 01:02 PM
On line #1734 of the Emerals_Animal_AI.cs script add the following:
Code (CSharp):
Exploder.Utils.ExploderSingleton.ExploderInstance.ExplodeObject(gameObject);
1) Add Exploder prefab into the scene 2) Add "Explodable" component to Hostile AI Example object Note that you can't use tag "Exploder" because the AI already have a tags that are necessary, so use the "Explodable" component instead.
Your answer

Follow this Question
Related Questions
Heyzap Integration 1 Answer
How to integrate MobFox with Unity 3D game? 1 Answer
Why my android game crash with chartboost? 0 Answers