mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 11:47:38 +02:00
Games that override ondestroy now destroy their inputs when they are destroyed (#449)
This commit is contained in:
@ -188,6 +188,10 @@ namespace HeavenStudio.Games
|
||||
if (queuedInputs.Count > 0) queuedInputs.Clear();
|
||||
if (queuedAttentions.Count > 0) queuedAttentions.Clear();
|
||||
if (queuedFlipperRollVoiceLines.Count > 0) queuedFlipperRollVoiceLines.Clear();
|
||||
foreach (var evt in scheduledInputs)
|
||||
{
|
||||
evt.Disable();
|
||||
}
|
||||
}
|
||||
|
||||
private void Update()
|
||||
|
Reference in New Issue
Block a user