|
using UnityEngine;
|
|
|
|
public class WayPointPortal : MonoBehaviour
|
|
{
|
|
public int m_WayIndex;
|
|
|
|
private void OnTriggerEnter(Collider other)
|
|
{
|
|
var pcactor = other.GetComponent<PCActor>();
|
|
if (pcactor && !pcactor.IsEnemy())
|
|
{ // 웨이포인트 UI 띄우기
|
|
NewGameUI.Ins.m_MapChoiceUI.Set();
|
|
}
|
|
}
|
|
} |