
Now the dialogue can use tags to add special effects Reorganized project structure, updating may require adding some using statements
12 lines
295 B
C#
12 lines
295 B
C#
using UnityEngine;
|
|
|
|
namespace SimpleTools {
|
|
public static class MonobehaviourExtensions {
|
|
public static void EnsureCoroutineStopped(this MonoBehaviour value, ref Coroutine routine) {
|
|
if (routine != null) {
|
|
value.StopCoroutine(routine);
|
|
routine = null;
|
|
}
|
|
}
|
|
}
|
|
}
|