there MonoBehaviour script data type?
Hello everyone, I have targetController.cs
what menages the points of hull and shields. also it specifies that the object can be hit by blasters or missles. but each object has its own controler.cs
(for example UnguidetMissleController.cs
, PlayerShipController.cs
or AsteroidController.cs
) and each script determines specific event after running out of HP and SP (Shields Points). I need to know if there is a data type for MonoBehaviour script that I assigned inspector and called on it method "OnDeath"
ps. sorry for bad English, I'm Czech
-Garrom
Answer by Garrom · Dec 23, 2016 at 03:44 PM
someone, anyone, please answer, please help me, my work is frozen...
thank NOBODY for help. a few days searching, I finally found something called $$anonymous$$onoScript.... Surprisingly .... that's exactly what I was looking for. I just put my work into a microwave oven and unfreeze it.
Again ... the best help and support I can expect only form $$anonymous$$YSELF ...
Your answer
Follow this Question
Related Questions
How to select a MonoBehaviour in inspector from a cusom editor? 0 Answers
MonoDevelop Unity API reference function with wrong path. How to Fix it? 1 Answer
How can I put a new script on the main camera? 2 Answers
GameObject array not showing on the inspector 0 Answers
What is the best way to avoid or reduce the amount of monobehaviours in your scripts? 1 Answer