PositionAction.cs 341 B

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