SpecialDotMono.cs 599 B

12345678910111213141516171819202122232425262728
  1. using GPUECSAnimationBaker.Engine.Baker;
  2. using UnityEngine;
  3. namespace GameTimeLine.CustomizeTimeLogic
  4. {
  5. public class SpecialDotMono : MonoBehaviour,IGPUSkeletonBake
  6. {
  7. public string DotName;
  8. public bool followSkeleton;
  9. public Vector3 myRotation;
  10. // public string followSkeleton
  11. public string GetSkeletonName()
  12. {
  13. return DotName;
  14. }
  15. public Transform GetTransform()
  16. {
  17. if (!followSkeleton)
  18. {
  19. return null;
  20. }
  21. return transform;
  22. }
  23. }
  24. }