BoneHair.cs 960 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using UnityEngine;
  3. public class BoneHair : MonoBehaviour
  4. {
  5. private void Start()
  6. {
  7. if (this.TOOL)
  8. {
  9. this.bonehair = new TBoneHair_(null);
  10. this.bonehair.SaveData(this.rootBody_Jyou, this.SaveName_Jyou);
  11. this.bonehair2 = new TBoneHair_(null);
  12. this.bonehair2.SaveData(this.rootBody_Kahan, this.SaveName_Kahan);
  13. this.bonehair = new TBoneHair_(null);
  14. this.bonehair2.SaveData(this.rootBody_Uwagi, "Uwagi");
  15. this.bonehair = new TBoneHair_(null);
  16. this.bonehair2.SaveData(this.rootBody_SKIRT, "SKIRT");
  17. this.bonehair = new TBoneHair_(null);
  18. this.bonehair2.SaveData(this.rootBody_IK, "IK");
  19. }
  20. }
  21. public bool TOOL;
  22. private TBoneHair_ bonehair;
  23. private TBoneHair_ bonehair2;
  24. public Transform rootBody_Jyou;
  25. public string SaveName_Jyou;
  26. public Transform rootBody_Kahan;
  27. public string SaveName_Kahan;
  28. public Transform rootBody_Uwagi;
  29. public Transform rootBody_SKIRT;
  30. public Transform rootBody_IK;
  31. }