找回密码
 注册帐号

扫一扫,访问微社区

audiochorusfilter.loop 循环

2015-1-3 13:07| 发布者: 杨炎| 查看: 2538| 评论: 0|原作者: 蛮牛|来自: unity3d脚本manual

摘要: audiosource.loop 循环varloop: booldescription描述is the audio clip looping?音频剪辑循环播放?if you disable looping on a playing audiosource the sound will stop after the end of the current loop.如果 ...

audiosource.loop 循环

varloop: bool

description描述

is the audio clip looping?

音频剪辑循环播放?

if you disable looping on a playing audiosource the sound will stop after the end of the current loop.

如果你播放一个音频禁用循环,该声音将在当前循环结束后停止播放。

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

void awake() {

audio.loop = false;

}

}

// stop looping the sound

//停止循环该声音

audio.loop = false;

相关阅读

文章点评
相关文章