SpecialDotMono.cs 572 B

123456789101112131415161718192021222324252627
  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 string followSkeleton
  10. public string GetSkeletonName()
  11. {
  12. return DotName;
  13. }
  14. public Transform GetTransform()
  15. {
  16. if (!followSkeleton)
  17. {
  18. return null;
  19. }
  20. return transform;
  21. }
  22. }
  23. }