i mean… like if my character touch a sculpture then it displays a text or like if i walk close ar character he say something
i mean i know how to make colliders etc… but i don’t know how summon text ![]()
here are what i try to put
(if are all wrong pls gave me the basics of this e,e)
using System.Collections;
using UnityEngine;
using unityEngine.UI;
public class texto : MonoBehaviour {
public string Text
void OnTriggerEnter (Collider other)
{
Text ("what to say?"); //its that easy :u? i think not
}
}