IEnumerator LoadActSequence() { actInterface.HeaderText.DOFade(0, 0.5f); Portal.DOScale(10f, 1.5f); actInterface.fadeOut.DOColor(new Color(0f, 0f, 0f, 1f), 1.4f); yield return(new WaitForSeconds(1.5f)); ActInformationInterface p = (ActInformationInterface)MenuManager.Instance.Push("Interface_ActInformation"); //p.Init(data); Portal.DOScale(1f, 0f); actInterface.fadeOut.DOColor(new Color(0f, 0f, 0f, 0f), 0f); actInterface.HeaderText.DOFade(1, 0.5f); }
public void LoadActZoneDetails(ZoneData zone, ActInformationInterface actInterface) { this.zone = zone; ResetButtons(); //Set the type displayMode = true; this.actInterface = actInterface; // Hide the other Buttons and show the Explore button ExploreButton.SetActive(true); // Disable the stuf that wont be visible RevealSection.gameObject.SetActive(false); LoadFromZone(zone, false); }