Character Animation
Please help me. I have no idea what's wrong with my Mecanim script. I set set up a couple of states in the controller. And I created an integer parameter named "Shuffle". The program is supposed to increase "Shuffle" by a fixed amount.
Here is the script:
using UnityEngine; using System.Collections;
public class Wave : MonoBehaviour {
private Animator anim;
void Start () {
anim = GetComponent<Animator>();
}
void Update () {
if (Input.GetKeyDown(KeyCode.Space))
{
anim.SetInteger("Shuffle", 20);
}
}
}
Please help me.
Answer by GeorgeA7299 · Jun 15, 2017 at 05:15 AM
I apologize for the time and effort you put into anwsering my post, however, I no longer need your services. As it turns out, there was never any problem. I ran the same program on a different computer, and it worked perfectly. Once again, I am sorry.
Your answer
Follow this Question
Related Questions
The requested feature is not implemented. 0 Answers
Bunch of instantiated RBs blows away 0 Answers
SetSpeed float C# 1 Answer
How to find all AudioClips in Resources folder and play them? 1 Answer