Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     ra = GetComponent <ReadArduino>();
 }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     rb2d = GetComponent <Rigidbody2D>();
     ra   = GameObject.Find("SingleUser").GetComponent <ReadArduino>();
 }