Exemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     if (cube.gameObject.transform.position == gameObject.transform.position)
     {
         cubeScript.AddScore(1);
         RelocatePoint();
     }
 }