Protfolio-Emanuel-Polsky / Assets / _Project / Code / Player / Camera / CameraRotationProperties.cs
CameraRotationProperties.cs
Raw
using Unity.Entities;
using Unity.Mathematics;
using UnityEngine;

namespace GarmentButton.CameraGeneral
{
    public struct CameraRotationProperties : IComponentData
    {
        public quaternion Value;
    }
    public struct CameraPositionProperties : IComponentData
    {
        public float3 Value;
    }
    public struct ScreenPositionPlayer : IComponentData
    {
        public float3 Value;
    }
    public struct CameraDirectionToPlayer : IComponentData
    {
        public float3 Value;
    }
    public struct CameraOffestFromPlayer : IComponentData
    {
        public float3 Value;
    }
    public struct BaseRotation : IComponentData
    {
        public quaternion Value;
    }
    public struct WantedRotationCamera : IComponentData, IEnableableComponent
    {
        public quaternion Value;
    }

    public struct CameraReferenceProperty : IComponentData
    {
        public UnityObjectRef<Transform> Transform;
        public UnityObjectRef<Camera> Value;
    }

    public struct FollowPlayerObjectTag : IComponentData
    {
        public UnityObjectRef<Transform> Value;
    }
}