MegaShapeAnimate.cs 553 B

123456789101112131415161718192021
  1. 
  2. using UnityEngine;
  3. using System.Collections.Generic;
  4. // Should this be a window? Or add it direct into Shape, do test code here
  5. // Should be a window I think
  6. [ExecuteInEditMode]
  7. public class MegaShapeAnimate : MonoBehaviour
  8. {
  9. public bool animate = false;
  10. public float time = 0.0f;
  11. public float speed = 1.0f;
  12. public MegaRepeatMode LoopMode = MegaRepeatMode.Loop;
  13. public List<MegaKnotAnim> animations;
  14. // Button to clear anim
  15. // BUtton to start anim
  16. // set a max time, then have a time slider
  17. // button to click to add state as keyframe
  18. }