This simple class is attached to some objects in the game :
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI;