UTKToolBar 개발 완료
This commit is contained in:
@@ -13,13 +13,13 @@ namespace Sample
|
||||
/// <para><b>[ 특징 ]</b></para>
|
||||
/// <list type="bullet">
|
||||
/// <item><description>프리팹 없이 런타임에 새 GameObject가 자동 생성됨</description></item>
|
||||
/// <item><description>Injector가 new GameObject().AddComponent<T>()로 생성</description></item>
|
||||
/// <item><description>Injector가 new GameObject().AddComponent<T>()로 생성</description></item>
|
||||
/// <item><description>App 라이프사이클이면 DontDestroyOnLoad 자동 적용</description></item>
|
||||
/// <item><description>다른 서비스([Inject] ILogService)에 대한 의존성 주입 지원</description></item>
|
||||
/// </list>
|
||||
///
|
||||
/// <para><b>[ 등록 방법 ]</b></para>
|
||||
/// <code>Injector.Register<IAudioManager, InjectorSampleAudioManager>(ServiceLifetime.App);</code>
|
||||
/// <code>Injector.Register<IAudioManager, InjectorSampleAudioManager>(ServiceLifetime.App);</code>
|
||||
///
|
||||
/// <para><b>[ 사용 방법 ]</b></para>
|
||||
/// <code>
|
||||
@@ -41,8 +41,8 @@ namespace Sample
|
||||
///
|
||||
/// private void Awake()
|
||||
/// {
|
||||
/// bgmSource = gameObject.AddComponent<AudioSource>();
|
||||
/// sfxSource = gameObject.AddComponent<AudioSource>();
|
||||
/// bgmSource = gameObject.AddComponent<AudioSource>();
|
||||
/// sfxSource = gameObject.AddComponent<AudioSource>();
|
||||
/// bgmSource.loop = true;
|
||||
/// }
|
||||
/// </code>
|
||||
|
||||
Reference in New Issue
Block a user