add some extra assets FX and SFX
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using UnityEngine;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NobleMuffins.LimbHacker.Examples
|
||||
{
|
||||
public class MarkOfCain : MonoBehaviour
|
||||
{
|
||||
private readonly static List<GameObject> markedObjects = new List<GameObject>();
|
||||
|
||||
void Start()
|
||||
{
|
||||
markedObjects.Add(gameObject);
|
||||
}
|
||||
|
||||
public static void DestroyAllMarkedObjects()
|
||||
{
|
||||
foreach (var go in markedObjects)
|
||||
{
|
||||
if (go != null) Destroy(go);
|
||||
}
|
||||
|
||||
markedObjects.Clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user