// Start is called before the first frame update
    void Start()
    {
        //Create an empty GameObject for the component we'll be adding.
        GameObject walkerGameObject = new GameObject();

        // Add the component
        walkeri5 = walkerGameObject.AddComponent <WalkerIntro5>();
    }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     // Create the walker
     walkeri5 = new WalkerIntro5();
 }