Ejemplo n.º 1
0
	void Start () 
    {
        
        wheel = transform.FindChild("Wheel");
        hookJoint = gameObject.GetComponentInChildren<HingeJoint>();
        hookAnimator = hookJoint.GetComponent<Animator>();
        moveSpeed = Random.Range(1,3);

        SpawnPizza();
        isMoving = true;
	}