add some extra assets FX and SFX

This commit is contained in:
Robii Aragon
2026-03-29 23:03:14 -07:00
parent 6ef3eb1535
commit 24dc66a81e
10142 changed files with 2535978 additions and 36608 deletions

View File

@@ -394,6 +394,8 @@ public class sliceSystem : MonoBehaviour
currentSurfaceToSlice.checkEventBeforeSlice ();
currentSurfaceToSlice.checkEventsOnIgnoreDestroyOriginalObject ();
currentSurfaceToSlice.getMainSimpleSliceSystem ().activateSlice (objectCollider, positionInWorldSpace,
normalInWorldSpace, slicePosition, updateLastObjectSpeed, lastSpeed);
@@ -418,6 +420,8 @@ public class sliceSystem : MonoBehaviour
currentSurfaceToSlice.checkEventBeforeSlice ();
currentSurfaceToSlice.checkEventsOnIgnoreDestroyOriginalObject ();
obj = currentSurfaceToSlice.getMainSurfaceToSlice ();
sliceSystemUtils.sliceObject (currentCutPosition, obj, currentCutUp, crossSectionMaterial, ref objectSliced, ref object1, ref object2);
@@ -542,6 +546,11 @@ public class sliceSystem : MonoBehaviour
}
obj.SetActive (false);
if (currentSurfaceToSlice.useEventToSendNewSlicedParts) {
currentSurfaceToSlice.eventToSendNewSlicedParts.Invoke (object1);
currentSurfaceToSlice.eventToSendNewSlicedParts.Invoke (object2);
}
}
}
}