public void AddReferencePoints(RefPointVisualizer visualizer) { RefPointsViz.Add(visualizer); // Debug DebugLog.Instance.SetRefPoint(RefPointsViz.Count - 1, visualizer); if (RefPointsViz.Count == 3) { FactoryManager.Instance.Init(RefPointsViz); } }
public void SetRefPoint(int i, RefPointVisualizer refPoint) => RefPoints[i].text = "Reference Point " + i + ": " + refPoint.transform.position.ToString() + " / " + refPoint.transform.rotation.ToString() + ";";