Commit 25de06e5 authored by 문경훈's avatar 문경훈

Sound added + stage text modified

parent 98d99f5c
Pipeline #560 skipped
fileFormatVersion: 2
guid: 54d95a759da17c4489c3d8291656c122
timeCreated: 1456374297
licenseType: Free
AudioImporter:
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: cf97a354049ec5f41926f56fa871cf4b
timeCreated: 1456374298
licenseType: Free
AudioImporter:
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
......@@ -5,10 +5,9 @@ using System.Collections.Generic;
public class GanSeokGi : Boss {
public Animator nationAnim;
/*
public AudioClip simYoung;
public AudioClip shukuchi;
*/
Camera mainCamera;
GameObject canvasWrapper;
......@@ -44,7 +43,7 @@ public class GanSeokGi : Boss {
isOverthrew = true;
nationAnim.SetTrigger("Overthrow");
SayLine(3);
// GetComponent<AudioSource>().PlayOneShot(shukuchi);
GetComponent<AudioSource>().PlayOneShot(shukuchi);
yield return StartCoroutine(WaitForRealSeconds(3.8f)); // animation time - 0.2f
mainCamera.transform.rotation *= Quaternion.Euler(0, 0, 180f);
......@@ -57,7 +56,7 @@ public class GanSeokGi : Boss {
IEnumerator Propaganda()
{
SayLine(1);
// GetComponent<AudioSource>().PlayOneShot(simYoung);
GetComponent<AudioSource>().PlayOneShot(simYoung);
for (int i = 0; i < mainLogic.activeUnitList.Count; i++)
{
if (Random.Range(0f, 1f) < 0.1f)
......
......@@ -33,7 +33,7 @@ public class StageLoad : MonoBehaviour
"2016.",
"축하합니다! 당신은 초대 주석의 탄신일을 외웠다!",
"축하합니다! 당신은 2kb님의 탄신일을 외웠다!",
"축하합니다! 당신은 이정의/일석기의 탄신일을 외웠다!",
"축하합니다! 당신은 이 정의/간 석기의 탄신일을 외웠다!",
"경고 : 이 선택은 당신의 삶을 지옥으로 만들 것입니다. 이대로 진행하시겠습니까?"
};
stageButton = stageList.GetComponentsInChildren<Button>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment