component.audio 音频

2015-1-5 03:07| 发布者: 杨炎| 查看: 1523| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: component.audio 音频varaudio:audiosourcedescription描述theaudiosourceattached to thisgameobject(null if there is none attached).audiosource附加到gameobject(游戏物体)(如无附加则为空)。c#javascriptu ...

component.audio 音频

varaudio:audiosource

description描述

theaudiosourceattached to thisgameobject(null if there is none attached).

audiosource附加到gameobject(游戏物体)(如无附加则为空)。

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

audio.play();

}

}

audio.play();

相关阅读

文章点评
相关文章