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

@@ -91,7 +91,7 @@ public class surfaceToSlice : MonoBehaviour
public float timeScale = 0.2f;
[Space]
[Header ("Debug")]
[Header ("Other Settings")]
[Space]
public bool destroySlicedPartsAfterDelay;
@@ -119,6 +119,16 @@ public class surfaceToSlice : MonoBehaviour
public bool useEventBeforeCut;
public UnityEvent eventBeforeCut;
[Space]
public bool ignoreDestroyOriginalObject;
public UnityEvent eventsOnIgnoreDestroyOriginalObject;
[Space]
public bool useEventToSendNewSlicedParts;
public eventParameters.eventToCallWithGameObject eventToSendNewSlicedParts;
float lastTimeSliced;
@@ -127,6 +137,13 @@ public class surfaceToSlice : MonoBehaviour
bool mainDestroyGameObjectAssigned;
public void checkEventsOnIgnoreDestroyOriginalObject ()
{
if (ignoreDestroyOriginalObject) {
eventsOnIgnoreDestroyOriginalObject.Invoke ();
}
}
public void checkEventBeforeSlice ()
{
if (useEventBeforeCut) {
@@ -309,6 +326,13 @@ public class surfaceToSlice : MonoBehaviour
}
}
public void setMainSimpleSliceSystemCheckingNotNull (GameObject newObject)
{
setMainSimpleSliceSystem (newObject);
cutSurfaceEnabled = (mainSimpleSliceSystem != null);
}
public void setDestructionPending (bool state)
{
if (!mainSimpleSliceSystemAssigned) {