//metodo per checkare se hai posizionato il pezzo della faccia sulla giusta droppable area public override bool CheckIfCorrectDropArea(DraggableObjectType area, FaceParts subArea) { if (area == draggableObjectType && subArea == facePartType) { return(true); } else { return(false); } }
public Transform GetHolder(DraggableObjectType type) { foreach (var holderPair in holderPairs) { if (holderPair.Type == type) { return(holderPair.Holder); } } Debug.LogWarning($"Holder for {type} not found"); return(transform); }
protected Transform GetHolder(DraggableObjectType type) => holderDistributor.GetHolder(type);
public abstract bool CheckIfCorrectDropArea(DraggableObjectType area, FaceParts subArea);