Ejemplo n.º 1
0
    public void AddReferencePoints(RefPointVisualizer visualizer)
    {
        RefPointsViz.Add(visualizer);
        // Debug
        DebugLog.Instance.SetRefPoint(RefPointsViz.Count - 1, visualizer);

        if (RefPointsViz.Count == 3)
        {
            FactoryManager.Instance.Init(RefPointsViz);
        }
    }
Ejemplo n.º 2
0
 public void SetRefPoint(int i, RefPointVisualizer refPoint)
 => RefPoints[i].text = "Reference Point " + i + ": " + refPoint.transform.position.ToString() + " / " + refPoint.transform.rotation.ToString() + ";";