void Awake() { beamPool = GameObject.Find(Constants.BeamPool).GetComponent <BeamPool>(); if (target == null) { target = GameObject.Find(Constants.Player); } }
void Awake() { beamPool = GameObject.Find(Constants.BeamPool).GetComponent <BeamPool>(); }
void Awake() { ship = GetComponent <Ship>(); beamPool = GameObject.Find(Constants.BeamPool).GetComponent <BeamPool>(); audioSource.clip = laserSound; }