void Start()
    {
        alpha = 29;

        myOtherClass = new AnotherClass();
        myOtherClass.FruitMachine(alpha, myOtherClass.apples);
    }
Ejemplo n.º 2
0
    void Start()
    {
        alpha = 29;

        myOtherClass = new AnotherClass();
        myOtherClass.FruitMachine(alpha, myOtherClass.apples);
    }
Ejemplo n.º 3
0
    void Start()
    {
        alpha = 32;

        myOtherClass = new AnotherClass();
        myOtherClass.FruitMachine(alpha, myOtherClass.raspberries);
    }
 // Start is called before the first frame update
 void Start()
 {
     myOtherClass = new AnotherClass();
     myOtherClass.FruitMachine(banana, myOtherClass.apples);
     myOtherClass.apples = 20;
     Debug.Log(myOtherClass.apples);
 }
Ejemplo n.º 5
0
    void Start()
    {
        alpha = 32;

        myOtherClass = new AnotherClass();
        myOtherClass.FruitMachine(alpha,myOtherClass.raspberries);
    }
    void Start()
    {
        alpha = 29;

        myOtherClass = new AnotherClass();
        myOtherClass.FruitMachine(alpha, myOtherClass.apples);
        Debug.Log("Alpha is set to: " + alpha);
    }
Ejemplo n.º 7
0
	void Start() {
		alpha = 45;

		// use new class instance

		myAnotherClass = new AnotherClass();
		myAnotherClass.FruitMachine(3, 54);

		// use new class instance 
		myLoopClass = new ExampleLoopExers();
		myLoopClass.Start();
	}
Ejemplo n.º 8
0
 void Start()
 {
     anotherClass = GetComponent <AnotherClass>();
     anotherClass.FruitMachine(alpha, anotherClass.apples);
 }