При создание 2D игры на андроид произошла ошибка в unity5, помогите с вопросом, вот код:
MissingComponentException: There is no 'SpriteRenderer' attached to the
"Play" game object, but a script is trying to access it.
You probably need to add a SpriteRenderer to the game object "Play". Or your
script needs to check if the component is attached before using it.
UnityEngine.SpriteRenderer.set_sprite (UnityEngine.Sprite value) (at C:/buildslave/unity/build/artifacts/generated/bindings_old/common/Core/SpritesBindings.gen.cs:263)
Button.OnMouseDown () (at Assets/Scripts/Button.cs:9)
UnityEngine.SendMouseEvents:DoSendMouseEvents(Int32)