コード例 #1
0
 private void Awake()
 {
     instance   = this;
     mainCamera = Camera.main;
     popupObject.gameObject.SetActive(true);
     gameObject.SetActive(false);
 }
コード例 #2
0
 public void Setup()
 {
     _gameObj = Instantiate(new GameObject());
     _popup   = _gameObj.AddComponent <TooltipPopup>();
 }