Hello ! like in topic . I can’t make the button works …
Here is my script
using UnityEngine;
using System.Collections;
public class sequence : MonoBehaviour {
public Animator anim;
// Use this for initialization
void Start ()
{
anim = GetComponent();
}
// Update is called once per frame
void Update ()
{
if(Input.GetKeyDown(“r”))
{
anim.Play(“Menu”,-1,0f);
}
}
}
Please Help ! I can’t fix this ![]()
