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