123456789101112131415161718192021 |
- using UnityEngine;
- namespace ET.Client
- {
- [ComponentOf(typeof(Unit))]
- public class CameraComponent : Entity, IAwake, ILateUpdate
- {
- // 战斗摄像机
- public Camera mainCamera;
- public Unit Unit{ get; set; }
- public Camera MainCamera
- {
- get
- {
- return this.mainCamera;
- }
- }
- }
- }
|