BoneScaleDef.cs 537 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using UnityEngine;
  3. public class BoneScaleDef
  4. {
  5. public BoneScaleDef(Transform trTarg, Vector3 vPos, Quaternion qRot, Vector3 vScale)
  6. {
  7. this.trTarget = trTarg;
  8. this.vBackPos = vPos;
  9. this.vDefPos = vPos;
  10. this.qBackRot = qRot;
  11. this.qDefRot = qRot;
  12. this.vDefScale = vScale;
  13. this.vBackScale = Vector3.one;
  14. }
  15. public Transform trTarget;
  16. public Vector3 vDefScale;
  17. public Quaternion qDefRot;
  18. public Vector3 vDefPos;
  19. public Vector3 vBackScale;
  20. public Quaternion qBackRot;
  21. public Vector3 vBackPos;
  22. }