LSUnitView.cs 433 B

12345678910111213141516
  1. using UnityEngine;
  2. namespace ET
  3. {
  4. [ChildOf(typeof(LSUnitViewComponent))]
  5. public class LSUnitView: Entity, IAwake<GameObject>, IUpdate, ILSRollback
  6. {
  7. public GameObject GameObject { get; set; }
  8. public Transform Transform { get; set; }
  9. public EntityRef<LSUnit> Unit;
  10. public Vector3 Position;
  11. public Quaternion Rotation;
  12. public float totalTime;
  13. public float t;
  14. }
  15. }