protected override void Awake() { base.Awake(); base.UpdateLaser(new DirectionalLaser(starterLaser, LaserUtil.GetDirection(transform.forward))); }
/// <summary> /// Processes the combined input lasers and updates output lasers (default: Updates front facing output laser to combined laser) /// </summary> /// <param name="combinedLaser"> Laser to be processed </param> public virtual void ProcessLaserInput(Laser combinedLaser) { UpdateLaser(new DirectionalLaser(combinedLaser, LaserUtil.GetDirection(transform.forward))); }