using UnityEngine; using System.Collections; public class AniSprite : MonoBehaviour { private float myTime = 0; private bool isPlay = true; //anisprit.Sprite(4, 6, 0, 0, 20, 24, 1f);的意思是:改图是一个4列6行的动画图,图以坐标(0,0)开始,总帧数给定20帧,帧速率24,总用时1秒 public bool Spri