Example #1
0
 // Use this for initialization
 void Start()
 {
     thisRigidbody    = GetComponent <Rigidbody2D>();
     levelManager     = GameObject.Find("Manager").GetComponent <LevelManager>();
     damageLowerBound = (int)(damageLowerBound * (levelManager.floorNumber));
     damageUpperBound = (int)(damageUpperBound * (levelManager.floorNumber));
     audioManager     = GameObject.Find("Player").GetComponent <PlayerAudioManager>();
     audioManager.arrowLooseAudio();
 }