brought back simple PlayBark method
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user