DragPointBG.cs 383 B

12345678910111213141516171819
  1. using UnityEngine;
  2. namespace MeidoPhotoStudio.Plugin;
  3. public class DragPointBG : DragPointGeneral
  4. {
  5. public override void Set(Transform myObject)
  6. {
  7. base.Set(myObject);
  8. DefaultPosition = myObject.position;
  9. }
  10. protected override void ApplyDragType()
  11. {
  12. ApplyProperties(Transforming, Transforming, Rotating);
  13. ApplyColours();
  14. }
  15. }