ok, i have an UI button.
very simple setup.
with an ui button, and a click event “script plays a camera animation clip.”
it works, but the button will only function one time.
how do i get the button to function all the time when i click it.?
. clip script is:
using UnityEngine;
using System.Collections;
public class playanim1 : MonoBehaviour {
// Use this for initialization
void Start () {
GetComponent<Animation> ().Play ("New1");
}
}