using Unity.Entities;
using Unity.MegaCity.CameraManagement;
using UnityEngine;
namespace Unity.MegaCity.Authoring
{
///
/// Create tag component for the player camera target
///
public class PlayerCameraTargetAuthoring : MonoBehaviour
{
[BakingVersion("julian", 2)]
public class PlayerCameraTargetBaker : Baker
{
public override void Bake(PlayerCameraTargetAuthoring authoring)
{
var entity = GetEntity(authoring.gameObject, TransformUsageFlags.Dynamic);
AddComponent(entity);
}
}
}
}