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); }
private void Start() { _buttonRect = GetComponent <RectTransform>(); _animation = GetComponent <Animation>(); _audio = GetComponentInParent <AudioSource>(); _scene = FindObjectOfType <SceneArrengement>(); _image = GetComponent <Image>(); }