몬스터 스포너 테스트코드 구현
1. 몬스터 상태 Hit, Death 추가 2. 몬스터 스킬 정리
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace TON
|
||||
{
|
||||
public partial class MonsterBase
|
||||
{
|
||||
private void OnGUI()
|
||||
{
|
||||
if (GUILayout.Button("Hit"))
|
||||
{
|
||||
ApplyDamage(1);
|
||||
}
|
||||
|
||||
if (GUILayout.Button("Dead"))
|
||||
{
|
||||
ApplyDamage(1000000000);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user