CameraComponent.cs 264 B

1234567891011121314151617181920
  1. using UnityEngine;
  2. namespace ET.Client
  3. {
  4. public class CameraComponent : Entity, IAwake, ILateUpdate
  5. {
  6. // 战斗摄像机
  7. public Camera mainCamera;
  8. public Unit Unit;
  9. public Camera MainCamera
  10. {
  11. get
  12. {
  13. return this.mainCamera;
  14. }
  15. }
  16. }
  17. }