



- set the anchor into stretch





- in Update() method,
- put the Raycasting to get the distance from NPC to Player
- in OnMouseOver() method,
- if the distance between NPC and Player,
- set the status of Player’s Sword into 1, unable to attack
- show the message through UI Text
- if Action Button is pressed,
- set the status of Player’s Sword into 2, unable to attack
- show Mouse Cursor
- turn off the first UI Texts
- get the Coroutine started
- if the distance between NPC and Player,
- in IEnumerator NPC001Active()
- show Text UIs for NPC talking
- wait for 5 sec
- turn off the UIs for NPC talking
- show the first UI Texts
- in OnMouseExit(),
- set the status of Player’s Sword into 0, able to attack
- turn off the first UI texts




















































































