void Awake() { buyAccessPopup = GameObject .FindGameObjectWithTag("BuyAccess") .GetComponent <BuyAccessPopup>(); promocodePopup = GameObject .FindGameObjectWithTag("Promocode") .GetComponent <PromocodePopup>(); succesOpen1Lvl = GameObject .FindGameObjectWithTag("Level1Success") .GetComponent <SuccesOpen1Lvl>(); helpPopup = GameObject .FindGameObjectWithTag("HelpPopup") .GetComponent <HelpPopup>(); }
private void Awake() { buyAccessPopup = GameObject .FindGameObjectWithTag("BuyAccess") .GetComponent <BuyAccessPopup>(); }