You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
401 B
19 lines
401 B
using UnityEngine; |
|
|
|
namespace ET |
|
{ |
|
|
|
[ComponentOf(typeof(Scene))] |
|
public class CameraComponent : Entity, IAwake, ILateUpdate |
|
{ |
|
public Camera MainCamera; |
|
public MapComponent MapComp; |
|
public float MinCameraOrthoSize = 6; |
|
public float MaxCameraOrthoSize = 15; |
|
public float CameraHalfHeight; |
|
public float CameraHalfWidth; |
|
|
|
public Vector3 BackupPos; |
|
public float BackupOrthoSize; |
|
} |
|
}
|
|
|