internal void DeactivateProcess(ProcessData dataTEMP) { Process process = GetActiveProcessByDataIfActive(dataTEMP); if (process != null) { ActiveProcesses.Remove(process); } }
private void ClearConsumeablesFromInput() { UseableEntity[] toRemove = Data.GetToRemove(inputEntities); foreach (UseableEntity remove in toRemove) { inputEntities.Remove(remove); } }
public override void OnEndDrag(PointerEventData eventData) { if (!isInDrag) { return; } Debug.LogWarning("END DRAG ON " + gameObject.name); base.OnEndDrag(eventData); if (TryDrop(eventData.pointerCurrentRaycast.gameObject)) { List.Remove(Source); } }