using Unity.Burst; using Unity.Entities; using UnityEngine; namespace GarmentButton.VerletIntegration.Interaction { [BurstCompile] public class SetInteractableWithFlag : MonoBehaviour { } public class SetInteractableWithFlagBaker : Baker { public override void Bake(SetInteractableWithFlag authoring) { //Create entity var entity = GetEntity(TransformUsageFlags.None); AddComponent(entity); } } }