private void Initialization()
 {
     _lineRendererFactory = new LineRendererFactory();
     _lineRenderers       =
         _lineRendererFactory.CreateUnityLineRenderers(1000, gameObject.transform, LinesMaterial, 0.01f);
     _teleporter =
         new Teleporter(
             new TeleportationTarget(TeleportCircle.transform, TeleportCircle.GetComponent <MeshRenderer>(),
                                     new UnityRaycast(), false), new Arc(Steps, IndexTip), _lineRenderers);
     _teleporationInput = new TeleportationInput(Velocity, _teleporter, IndexTip, Referentiel, Head);
 }
示例#2
0
 public void BeforeEveryTest()
 {
     _lineRenderFactory = new LineRendererFactory();
 }