Example #1
0
 // Start is called before the first frame update
 void Start()
 {
     CubeOControllerScript = GameObject.Find("CubeO").GetComponent <CubeOController>();
 }
    // Start is called before the first frame update
    void Start()
    {
        CubeOControllerScript = GameObject.Find("CubeO").GetComponent <CubeOController>();

        InvokeRepeating("spawnObstaclesAndGrowPoints", startWaitTime, spawnInterval);
    }