docs: 프로젝트 변경으로 사용하지 않는 파일 모두 정리
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 1c68558df014bfd4787e311b1dc551e0
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 42fbbf74b450b1c449d4005e5290751e
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 133cd31c5561abe4f8d27af194baf21c
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: ae7fe779eedde034abb4b71300d5c48d
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 9f2eca95960329d40b29f74d084043f6
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 171a781096ced684786ffc4579aed7cd
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 4ffa3abd86ea7074895c9c337ee16da5
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 30507c5066bfa3a4e98b95da7926bc57
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 85d851437b62a91418b5346771250dd9
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: cf8a1c05117fb3f4a95a78dd12ceee3c
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: acc1cf56fe047e8489f9d44e592fde04
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: e5189ae540e98124b8a235a1df1a5f40
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace TON
|
|
||||||
{
|
|
||||||
public class StageDeadZone : MonoBehaviour
|
|
||||||
{
|
|
||||||
private void OnTriggerEnter2D(Collider2D collision)
|
|
||||||
{
|
|
||||||
if (collision.CompareTag("Player"))
|
|
||||||
{
|
|
||||||
// 캐릭터가 StageDeadZone에 들어옴과 동시에 게임오버 정보를 저장하도록 함
|
|
||||||
// StageManager.Singleton.StageGameOver();
|
|
||||||
|
|
||||||
// 캐릭터 Dead 로직 실행
|
|
||||||
CharacterBase character = collision.gameObject.GetComponentInChildren<CharacterBase>();
|
|
||||||
character.Dead();
|
|
||||||
|
|
||||||
// character.OnDeathCompleted += ShowGameOverUI; // 이벤트 구독
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void ShowGameOverUI()
|
|
||||||
{
|
|
||||||
// 게임 오버 UI 조건 삭제로 해당 코드 주석처리함
|
|
||||||
// UIManager.Show<GameoverUI>(UIList.GameOverUI);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 742e996d10bb93b4eab96a09af062282
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace TON
|
|
||||||
{
|
|
||||||
public class StageStar : MonoBehaviour
|
|
||||||
{
|
|
||||||
public GameObject fillStar;
|
|
||||||
public GameObject emptyStar;
|
|
||||||
|
|
||||||
public void SetStar(bool isFill)
|
|
||||||
{
|
|
||||||
fillStar.SetActive(isFill);
|
|
||||||
emptyStar.SetActive(!isFill);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: ba544d6702743874b920b1f4c9b8f08c
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -12,29 +12,8 @@ namespace TON
|
|||||||
|
|
||||||
public override IEnumerator OnStart()
|
public override IEnumerator OnStart()
|
||||||
{
|
{
|
||||||
string stageId = PlayerPrefs.GetString("StageId", null);
|
|
||||||
Assert.IsNotNull(stageId, "StageScene:: 스테이지 진입 실패!");
|
|
||||||
|
|
||||||
// 선택한 스테이지에 맞는 씬을 로드한다
|
// 선택한 스테이지에 맞는 씬을 로드한다
|
||||||
AsyncOperation asyncLoad = null;
|
AsyncOperation asyncLoad = SceneManager.LoadSceneAsync("Stage 4", LoadSceneMode.Single);
|
||||||
switch (stageId)
|
|
||||||
{
|
|
||||||
case "STG001":
|
|
||||||
asyncLoad = SceneManager.LoadSceneAsync("Stage 1", LoadSceneMode.Single);
|
|
||||||
break;
|
|
||||||
case "STG002":
|
|
||||||
asyncLoad = SceneManager.LoadSceneAsync("Stage 2", LoadSceneMode.Single);
|
|
||||||
break;
|
|
||||||
case "STG003":
|
|
||||||
asyncLoad = SceneManager.LoadSceneAsync("Stage 3", LoadSceneMode.Single);
|
|
||||||
break;
|
|
||||||
case "STG004":
|
|
||||||
asyncLoad = SceneManager.LoadSceneAsync("Stage 4", LoadSceneMode.Single);
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
Assert.IsTrue(false, "StageScene:: 스테이지 진입 실패!");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 로드가 완료될 때 까지 yield return null 을 하면서 기다린다
|
// 로드가 완료될 때 까지 yield return null 을 하면서 기다린다
|
||||||
while (asyncLoad != null && !asyncLoad.isDone)
|
while (asyncLoad != null && !asyncLoad.isDone)
|
||||||
@@ -48,7 +27,7 @@ namespace TON
|
|||||||
Debug.LogError("Failed to spawn player character!");
|
Debug.LogError("Failed to spawn player character!");
|
||||||
// 에러 UI를 표시하거나 씬을 다시 로드하는 등의 처리
|
// 에러 UI를 표시하거나 씬을 다시 로드하는 등의 처리
|
||||||
// UIManager.Show<ErrorUI>(UIList.ErrorUI);
|
// UIManager.Show<ErrorUI>(UIList.ErrorUI);
|
||||||
// 또는 SceneManager.LoadScene("ErrorScene"); 등
|
// 또는 SceneManager.LoadScene("ErrorScene"); 등
|
||||||
yield break;
|
yield break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user