Beispiel #1
0
 public void AddTracingTarget(ITraceable traceable)
 {
     if (traceable.GetEnableTracing())
     {
         _astralBodies.Add(traceable);
         _orbitPoints[traceable] = new List <Vector3> {
             traceable.GetTransform().position
         };
         _orbitRenderers[traceable] = traceable.GetTransform().Find("Line").gameObject.GetComponent <LineRenderer>();
     }
 }