void DropSceneDragableToDropPosition(ISceneDragable currentSceneDragable) { OnDropActions?.Invoke(); OnDropingMoveActions += ResetMeshColliderAtEndDrop; StartCoroutine(MoveDropeable(currentSceneDragable)); SceneDragableFeature.OnDrop -= DropSceneDragableToDropPosition; }
void ResetMeshColliderAtEndDrop(ISceneDragable currentSceneDragable) { currentSceneDragable.SceneDragableMesh.enabled = true; OnDropingMoveActions -= ResetMeshColliderAtEndDrop; }