Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     BackgroundScroller = this;
     spawnmanager       = GameObject.Find("SpawnManager").GetComponent <SpawnManager>();
 }
Exemple #2
0
    void Start()
    {
        current = this;

        theRenderer = GetComponent <Renderer>();
    }