brought back simple PlayBark method

This commit is contained in:
2025-04-26 09:20:56 +02:00
parent 51f3014aba
commit 286b8cdee0

View File

@@ -135,6 +135,13 @@ namespace Beyond // Ensure this namespace matches your project structure
} }
} }
} }
public void PlayBark(int num) // <<< METHOD RESTORED HERE
{
// This simply queues the request with a null target.
// The Update loop will handle dequeuing, checking playOnce,
// resolving the null target to Player.Instance, and playing.
PlayBarkFromQueue(num, null);
}
/// <summary> /// <summary>
/// Plays a bark from the specified entry. Uses Player.Instance.transform for text barks if barkTarget is null. /// Plays a bark from the specified entry. Uses Player.Instance.transform for text barks if barkTarget is null.