private void Start() { data = logged.GetComponent <LoggedDataInGame>(); screen = logged.GetComponent <SwipeScreen>(); buyAS = this.GetComponent <AudioSource>(); msb = InGameBTN.GetComponent <MenuSoundButton>(); }
// Start is called before the first frame update void Start() { bgm = this.GetComponent <AudioSource>(); msb = soundBtn.GetComponent <MenuSoundButton>(); }