npc talk to nearby players

This commit is contained in:
BuildTools
2020-04-10 08:45:04 +03:00
parent 4db6366f0b
commit 78ed8d1285
8 changed files with 188 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InteractionObject : MonoBehaviour
{
public bool talks;
public string message;
public void Talk()
{
Debug.Log(message);
}
}