예제 #1
0
    protected override void Awake()
    {
        base.Awake();

        base.UpdateLaser(new DirectionalLaser(starterLaser, LaserUtil.GetDirection(transform.forward)));
    }
예제 #2
0
 /// <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)));
 }