에러 수정 및 로그 제거
This commit is contained in:
parent
b669ec160a
commit
1d408e63f7
|
|
@ -148,7 +148,6 @@ public class UnitCtrl : MonoBehaviour
|
||||||
dmg = unit.defense + 100;
|
dmg = unit.defense + 100;
|
||||||
}
|
}
|
||||||
unit.hp -= (dmg - unit.defense);
|
unit.hp -= (dmg - unit.defense);
|
||||||
Debug.Log($"{dmg - unit.defense}데미지! {unit.hp}남음.");
|
|
||||||
if(unit.hp <= 0)
|
if(unit.hp <= 0)
|
||||||
{
|
{
|
||||||
//임시로 삭제하게 처리 추후 재활용 할수 있게 처리할것
|
//임시로 삭제하게 처리 추후 재활용 할수 있게 처리할것
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,9 @@ public class PlayCtrl : SingletonMonoBehaviour<PlayCtrl>
|
||||||
if(delay > 3.0f)
|
if(delay > 3.0f)
|
||||||
{
|
{
|
||||||
//게임씬으로 이동
|
//게임씬으로 이동
|
||||||
StoryPlayUiCtrl.Instance.EndButtle();
|
//StoryPlayUiCtrl.Instance.EndButtle();
|
||||||
|
//TODO 임시 처리
|
||||||
|
GameManager.Instance.NextScene(GameManager.eScene.Game);
|
||||||
isStop = true;
|
isStop = true;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue