レス書き込み
スレへ戻る
写
レス栞
レス消
【ゲームエンジン】Unity初心者質問スレBuild4
PC,スマホ,PHSは
ULA
べっかんこ
公式(スマホ)
公式(PC)
で書き込んでください。
名前
メール
引用切替:
レスアンカーのみ
>>619 > using UnityEngine; > using System.Collections; > > public class FadeOut : MonoBehaviour > { > AudioSource audioSourse; > double FadeOutSeconds = 1.0; > public bool IsFadeOut = true; > double FadeDeltaTime = 0; > > void Start() > { > audioSourse= GetComponent<AudioSource>(); > } > > void Update() > { > if (IsFadeOut == true) > { > FadeDeltaTime += Time.deltaTime; > if (FadeDeltaTime >= FadeOutSeconds) > { > FadeDeltaTime = FadeOutSeconds; > IsFadeOut = false; > } > audioSourse.volume = (float)(1.0 - FadeDeltaTime / FadeOutSeconds);//★ > Debug.Log(FadeDeltaTime); > } > } > }
ローカルルール
SETTING.TXT
他の携帯ブラウザのレス書き込みフォームはこちら。
書き込み設定
で書き込みサイトの設定ができます。
・
ULA
・
べっかんこ(身代わりの術)
・
べっかんこ(通常)
・
公式(スマホ)
・
公式(PC)[PC,スマホ,PHS可]
書き込み設定(板別)
で板別の名前とメールを設定できます。
メモ帳
(0/65535文字)
上
下
板
覧
索
設
栞
歴
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.013s