Tile - YSound - Play Sound 2D – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Play sound effect to Ylands:Tile - YSound - Play Sound 2D: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
[[ | <!--- | ||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Play Sound 2D(Player, Sound, Volume) == | |||
[[File:YlandsTile-876.png]] | |||
<pre>static play2D(player: YCharacter, sound2D: YCustomMusic | YSound, Volume: number): void;</pre> | |||
=== Parameters === | |||
==== player ==== | |||
==== sound2D ==== | |||
==== Volume ==== | |||
=== Description === | |||
Plays a '''2D sound''' of a given '''volume''' for the target '''player'''. | |||
== Play Sound 2D(Sound, Volume) == | |||
[[File:YlandsTile-875.png]] | |||
<pre>static play2D(sound2D: YCustomMusic | YSound, volume: number): void;</pre> | |||
=== Parameters === | |||
==== sound2D ==== | |||
==== volume ==== | |||
=== Description === | |||
Plays a '''2D sound''' of a given '''volume''' in the whole scene. | |||
Line 9: | Line 40: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 09:51, 8 July 2021
Play Sound 2D(Player, Sound, Volume)
static play2D(player: YCharacter, sound2D: YCustomMusic | YSound, Volume: number): void;
Parameters
player
sound2D
Volume
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
Description
Plays a 2D sound of a given volume in the whole scene.