private void Start()
 {
     image = GetComponent <Image>();
     scene = FindObjectOfType <SceneArrengement>();
     scene.SetPrompt();
     GetPrompt();
 }
    private void Start()
    {
        scene = FindObjectOfType <SceneArrengement>();
        image = GetComponent <Image>();
        bool mute = PlayerPrefs.GetString(Keys.Mute) != trueResult;

        GetSound(mute);
    }
Beispiel #3
0
 private void Start()
 {
     _buttonRect = GetComponent <RectTransform>();
     _animation  = GetComponent <Animation>();
     _audio      = GetComponentInParent <AudioSource>();
     _scene      = FindObjectOfType <SceneArrengement>();
     _image      = GetComponent <Image>();
 }