// Start is called before the first frame update void Start() { if (controllerObjetivos == null) { controllerObjetivos = ControllerObjetivos.Instance; } canvasObject = GameObject.Find("UI-Canvas"); if (canvasObject != null) { canvasUI = canvasObject.GetComponent <Canvas>(); } }
void Awake() { instance = this; }