// Start is called before the first frame update void Start() { waypts = GameObject.FindGameObjectWithTag("waypoints").GetComponent <HWaypoints>(); speed = 1.5f; rotateTowardsWaypoint = 3.5f; setBoolToTrue = 4f; }
void Start() { waypts = GameObject.FindGameObjectWithTag("waypoints").GetComponent <HWaypoints>(); speed = 2f; rotateTowardsWaypoint = 1f; waitBeforeMoving = 0f; setBoolToTrue = 4f; }
void Start() { waypts = GameObject.FindGameObjectWithTag("waypoints").GetComponent <HWaypoints>(); speed = 1.2f; rotateTowardsWaypoint = 0.5f; setBoolToTrue = 4f; randomIndex = Random.Range(0, waypts.wpointsH.Length); waitBeforeMoving = 4; startTimer = 3f; sceneTimer = 4f; shootingDistance = 18f; enableCol = 1.5f; shootTimer = 5f; health = 5; fromAimToShoot = 2f; movesToStartSpot = true; bgmusic.Pause(); FindObjectOfType <AudioManager>().Play("Drama"); }