|
Post by ConAim on Nov 16, 2019 17:04:44 GMT
private void OnBecameVisible() {
if (!useVisibleSound || _isVisible) {
return;
}
_isVisible = true;
PlaySounds(visibleSound, EventType.OnVisible);
} Should be "if (!useVisibleSound || !_isVisible)"..
|
|
|
Post by DarkTonic Dev on Nov 29, 2019 1:31:55 GMT
Actually that code is correct. The 2nd check is to make sure it doesn't trigger again for the same becameVisiblr.
This forum is not for our plugins, it's for our game Legend of the Brawl. I will delete this thread soon.
|
|