void ReleaseDesignerOutlets() { if (CountryButton != null) { CountryButton.Dispose(); CountryButton = null; } if (CountryLabel != null) { CountryLabel.Dispose(); CountryLabel = null; } if (PostCodeCountainerView != null) { PostCodeCountainerView.Dispose(); PostCodeCountainerView = null; } if (PostcodeTextField != null) { PostcodeTextField.Dispose(); PostcodeTextField = null; } if (HomeButton != null) { HomeButton.Dispose(); HomeButton = null; } }
void Start() { if (!InfiniteMode) Manager = GameObject.Find ("Game Manager"); else Manager = GameObject.Find ("Infinite Mode Manager"); Country = GameObject.Find ("Country").GetComponent<CountryLabel> (); LastCountry = Country.currentCunt; }
void ReleaseDesignerOutlets() { if (CloseButton != null) { CloseButton.Dispose(); CloseButton = null; } if (CountryLabel != null) { CountryLabel.Dispose(); CountryLabel = null; } if (CountryCombobox != null) { CountryCombobox.Dispose(); CountryCombobox = null; } if (EmailLabel != null) { EmailLabel.Dispose(); EmailLabel = null; } if (EmailTF != null) { EmailTF.Dispose(); EmailTF = null; } if (InfoLabel != null) { InfoLabel.Dispose(); InfoLabel = null; } if (ServiceTF != null) { ServiceTF.Dispose(); ServiceTF = null; } if (CancelButton != null) { CancelButton.Dispose(); CancelButton = null; } if (SendButton != null) { SendButton.Dispose(); SendButton = null; } if (TopImageView != null) { TopImageView.Dispose(); TopImageView = null; } if (LogoImageView != null) { LogoImageView.Dispose(); LogoImageView = null; } if (BottonImageView != null) { BottonImageView.Dispose(); BottonImageView = null; } }
void Start() { Country = GameObject.Find("Country").GetComponent<CountryLabel>(); LastCountry = Country.currentCunt; }
void Start() { Country = CountryLabel.GetComponent<CountryLabel> (); LastCountry = Country.currentCunt; }