jump-game/Jump Game/Assets/Scripts/InteractionObject.cs

16 lines
254 B
C#
Raw Normal View History

2020-04-10 05:45:04 +00:00
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);
}
}