using Unity.Burst;
using Unity.Entities;
using UnityEngine;
namespace GarmentButton.VerletIntegration.Interaction
{
[BurstCompile]
public class EnableFlagInteractionMono : MonoBehaviour
{
}
public class EnableFlagInteractionMonoBaker : Baker<EnableFlagInteractionMono>
{
public override void Bake(EnableFlagInteractionMono authoring)
{
//Create entity
var entity = GetEntity(TransformUsageFlags.None);
AddComponent<FlagInteractionEnableTag>(entity);
SetComponentEnabled<FlagInteractionEnableTag>(entity, false);
AddBuffer<CurrentInteractable>(entity);
}
}
}