Tile - YSound - Play Sound 2D – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
==== Volume ==== | ==== Volume ==== | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === | ||
Line 29: | Line 33: | ||
==== volume ==== | ==== volume ==== | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === |
Revision as of 12:15, 12 November 2021
Play Sound 2D(Player, Sound, Volume)
static play2D(player: YCharacter, sound2D: YCustomMusic | YSound, Volume: number): void;
Parameters
player
sound2D
Volume
Availability
Description
Plays a 2D sound of a given volume for the target player.
Play Sound 2D(Sound, Volume)
static play2D(sound2D: YCustomMusic | YSound, volume: number): void;
Parameters
sound2D
volume
Availability
Description
Plays a 2D sound of a given volume in the whole scene.