- Home /
Question by
hala_83990 · Oct 23, 2014 at 03:35 PM ·
hi...i am having this problem can u help me please
5a6aaa.png
(483.0 kB)
error.png
(44.3 kB)
Comment
Answer by robertbu · Oct 23, 2014 at 03:38 PM
For future questions provide your source code and errors as text, not as images. After pasting your source, select it and use the 101/010 button to format it.
As for your error, you are using the Javascript/Unityscript version of RequireComponent. Line 3 should be:
[RequireComponent (typeof (Kai))]
http://docs.unity3d.com/ScriptReference/RequireComponent.html