The model definitions are now updated to match the currently used models as mentioned in issue #1

This commit is contained in:
Emiliana 2020-04-30 15:39:58 +02:00
parent b43f281ef9
commit 8145e4b0ac
2 changed files with 173 additions and 144 deletions

View file

@ -187,9 +187,9 @@ public class OpenSeeShowPoints : MonoBehaviour {
lineRenderers[i].enabled = true;
lineRenderers[i].widthMultiplier = lineWidth;
lineRenderers[i].material = lineMaterial;
lineRenderers[i].material.SetColor("_Color", color);
lineRenderers[i].startColor = color;
lineRenderers[i].endColor = color;
lineRenderers[i].material.SetColor("_Color", color);
lineRenderers[i].SetPosition(0, gameObjects[a].transform.position);
lineRenderers[i].SetPosition(1, gameObjects[b].transform.position);
}