public void InLineOfSights() { if (IsInFocus) { return; } GetComponent <MeshRenderer>().enabled = false; GetComponent <Collider>().enabled = false; explosionParticles.Play(); orbitingParticles.gameObject.SetActive(false); audioSource.pitch = Random.Range(0.95f, 1.05f); audioSource.PlayOneShot(inFocused); transform.localScale = Vector3.one * 3f; IsInFocus = true; HasBeenFocused = true; Instantiate(drop.GetRandomCommonDrop(), transform.position + 5 * Vector3.right, Quaternion.identity); Instantiate(drop.GetRandomCommonDrop(), transform.position + 5 * Vector3.left, Quaternion.identity); Instantiate(drop.GetRandomCommonDrop(), transform.position + 5 * Vector3.up, Quaternion.identity); Instantiate(drop.GetRandomCommonDrop(), transform.position + 5 * Vector3.down, Quaternion.identity); Instantiate(drop.GetRandomCommonDrop(), transform.position + 5 * Vector3.forward, Quaternion.identity); Instantiate(drop.GetRandomCommonDrop(), transform.position + 5 * Vector3.back, Quaternion.identity); Instantiate(drop.GetRandomRareDrop(), transform.position, Quaternion.identity); }