123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using System;
- using UnityEngine;
- public class BoneHair : MonoBehaviour
- {
- private void Start()
- {
- if (this.TOOL)
- {
- this.bonehair = new TBoneHair_(null);
- this.bonehair.SaveData(this.rootBody_Jyou, this.SaveName_Jyou);
- this.bonehair2 = new TBoneHair_(null);
- this.bonehair2.SaveData(this.rootBody_Kahan, this.SaveName_Kahan);
- this.bonehair = new TBoneHair_(null);
- this.bonehair2.SaveData(this.rootBody_Uwagi, "Uwagi");
- this.bonehair = new TBoneHair_(null);
- this.bonehair2.SaveData(this.rootBody_SKIRT, "SKIRT");
- this.bonehair = new TBoneHair_(null);
- this.bonehair2.SaveData(this.rootBody_IK, "IK");
- }
- }
- public bool TOOL;
- private TBoneHair_ bonehair;
- private TBoneHair_ bonehair2;
- public Transform rootBody_Jyou;
- public string SaveName_Jyou;
- public Transform rootBody_Kahan;
- public string SaveName_Kahan;
- public Transform rootBody_Uwagi;
- public Transform rootBody_SKIRT;
- public Transform rootBody_IK;
- }
|