slavut-17 22 апр 2013, 17:44
Написал на C#
Ошибка:
MissingComponentException: There is no 'AudioSource' attached to the "Korabl1" game object, but a script is trying to access it.
You probably need to add a AudioSource to the game object "Korabl1". Or your script needs to check if the component is attached before using it.
UnityEngine.AudioSource.PlayOneShot (UnityEngine.AudioClip clip) (at C:/BuildAgent/work/b0bcff80449a48aa/Runtime/ExportGenerated/Editor/BaseClass.cs:504)
peremen.Update () (at Assets/Корабли/peremen.cs:24)