void Start() { //line = GetComponent<LineRenderer>(); playerController = InputManager.player1; rb = GetComponent <Rigidbody>(); }
//private Animation anim; // Start is called before the first frame update void Start() { rb = GetComponent <Rigidbody>(); playerBody = player.GetComponent <Rigidbody>(); activateAbilities = InputManager.player2; hitBall = GetComponent <SphereCollider>(); snowballCountdown = Random.Range(-3f, 3f) + 8; jumpCountdown = Random.Range(-2f, 2f) + 5; //anim = GetComponent<Animation>(); }
// Justin // Start is called before the first frame update void Start() { playerController = InputManager.player1; rb = GetComponent <Rigidbody>(); points = 0; setPointDisplay(); distanceTraveled = 0; prevZ = transform.position.z; distanceToPoints = 0; scaleChanger = 0; // HEAD acceleration = 0; rb.angularDrag = 0f; acorn = 1; acornTime = 0f; hit = false; pointsMult = 1; pointsMultTime = 0f; //Justin }
void Start() { line = GetComponent <LineRenderer>(); playerController = InputManager.player1; }