Ejemplo n.º 1
0
 protected override void AdvanceAnimation()
 {
     CurrentAnimation.UseCurrentFrame();
     CurrentAnimation.SwitchToNextFrame();
 }
Ejemplo n.º 2
0
 protected override void AdvanceAnimation()
 {
     renderer.material.SetTexture("_MainTex", CurrentAnimation.CurrentFrame);
     CurrentAnimation.SwitchToNextFrame();
 }