void Start()
 {
     rig = GetComponent <Rigidbody2D>();
     max_score_script = b.GetComponent <Script_first_load>();
     //er = d.GetComponent<Sounds_control>();
     //fon = fon.GetComponent<SpriteRenderer>();
 }
 private void Awake()
 {
     check = q.GetComponent<Script_first_load>();
 }
Пример #3
0
 private void Start()
 {
     check_Scene = dr.GetComponent <Script_first_load>();
 }