ScaleAction.cs 343 B

123456789101112131415161718
  1. using UnityEngine;
  2. using XGame.Framework.Interfaces;
  3. namespace FL.Battle.Actions
  4. {
  5. public class ScaleAction : IAction
  6. {
  7. public Vector3 localScale;
  8. void IReference.Clear()
  9. {
  10. }
  11. void IAction.Start(Transform transform)
  12. {
  13. transform.localScale = localScale;
  14. }
  15. }
  16. }