ForwordAction.cs 414 B

123456789101112131415161718
  1. using UnityEngine;
  2. using XGame.Framework.Interfaces;
  3. namespace FL.Battle.Actions
  4. {
  5. internal class ForwordAction : IAction
  6. {
  7. public Vector3 forword;
  8. void IReference.Clear()
  9. {
  10. }
  11. void IAction.Start(Transform transform)
  12. {
  13. //Log.Debug($"transform.forward:{transform.forward} {forword}");
  14. transform.forward = forword;
  15. }
  16. }
  17. }