Generation

generate functionMon, 05 Dec 2022

attach a tooltip with a text "Follow me!" always facing the player

public class Tooltip : MonoBehaviour { public string message; void Update() { transform.rotation = Camera.main.transform.rotation; } }

Questions about programming?Chat with your personal AI assistant