Exemple #1
0
        void ReleaseDesignerOutlets()
        {
            if (Backbutton != null)
            {
                Backbutton.Dispose();
                Backbutton = null;
            }

            if (GonderButton != null)
            {
                GonderButton.Dispose();
                GonderButton = null;
            }

            if (Headerview != null)
            {
                Headerview.Dispose();
                Headerview = null;
            }

            if (MesajTextView != null)
            {
                MesajTextView.Dispose();
                MesajTextView = null;
            }

            if (textField != null)
            {
                textField.Dispose();
                textField = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (ApplyButton != null)
            {
                ApplyButton.Dispose();
                ApplyButton = null;
            }

            if (Backbutton != null)
            {
                Backbutton.Dispose();
                Backbutton = null;
            }

            if (DeleteButton != null)
            {
                DeleteButton.Dispose();
                DeleteButton = null;
            }

            if (StyleName != null)
            {
                StyleName.Dispose();
                StyleName = null;
            }

            if (TypeDropdown != null)
            {
                TypeDropdown.Dispose();
                TypeDropdown = null;
            }
        }
 void OnEnable()
 {
     // dusbin.SetActive(true);
     is_check = true;
     //StartCoroutine(sceneappear());
     Backbutton.SetActive(true);
 }
Exemple #4
0
 public void BackButton()
 {
     // this method allows the backbutton to return to its calling Process
     Backbutton.SetActive(false);
     PlayButton.SetActive(true);
     Quitbutton.SetActive(true);
     Optionsbutton.SetActive(true);
 }
Exemple #5
0
 public void OptionsButton()
 {
     Quadmove.backgroundSpeed = 0f;
     Pspeed.speed             = 0;
     PlayButton.SetActive(false);
     Quitbutton.SetActive(false);
     Backbutton.SetActive(true);
     Optionsbutton.SetActive(false);
 }
    IEnumerator sceneappear()
    {
        float shadevalue = HomepageObject.GetComponent <Image>().color.a;

        while (shadevalue < 1)
        {
            HomepageObject.GetComponent <Image>().color = new Color(1f, 1f, 1f, shadevalue);
            shadevalue += 0.1f;
            yield return(new WaitForSeconds(0.05f));
        }
        Backbutton.SetActive(true);
    }
Exemple #7
0
 //public obstaclesScripts moveRods;
 // Start is called before the first frame update
 void Start()
 {
     Accessgravity = FindObjectOfType <PlayerController>();
     Quadmove      = FindObjectOfType <scrollingbackground>();
     Pspeed        = FindObjectOfType <parallaxMountain>();
     // PlayButton btn = PlayButton.GetComponent<Button>();
     // btn.onClick.AddListener(PlayGame);
     PlayButton.SetActive(true);
     namebutton.SetActive(true);
     Spawner.gameObject.SetActive(false);
     Panel.gameObject.SetActive(false);
     Backbutton.SetActive(false);
     Restartbutton.SetActive(false);
 }