private void DestroySelectedObject() { DioramaObject d = WorldBuilderMain.selectedObject.GetComponent <DioramaObject>(); manager.DestoryObject(WorldBuilderMain.selectedObject); WorldBuilderMain.ChooseSelectionModeType(); }
private void DropObject() { UnlockY(); DestroyAnimator(); WorldBuilderMain.ChooseSelectionModeType(); }