private void Awake() { instance = this; mainCamera = Camera.main; popupObject.gameObject.SetActive(true); gameObject.SetActive(false); }
public void Setup() { _gameObj = Instantiate(new GameObject()); _popup = _gameObj.AddComponent <TooltipPopup>(); }