Exemple #1
0
 public void Update()
 {
     if (Main.guiVisible && SelectedGameObject != null)
     {
         lineDrawer.DrawLineInGameView(SelectedGameObject.transform.position, SelectedGameObject.transform.right, Color.red);
         lineDrawer.DrawLineInGameView(SelectedGameObject.transform.position, SelectedGameObject.transform.up, Color.green);
         lineDrawer.DrawLineInGameView(SelectedGameObject.transform.position, SelectedGameObject.transform.forward, Color.blue);
     }
 }
Exemple #2
0
 public void Update()
 {
     lineDrawer.DrawLineInGameView(transform.position, transform.right, Color.red);
     lineDrawer.DrawLineInGameView(transform.position, transform.up, Color.green);
     lineDrawer.DrawLineInGameView(transform.position, transform.forward, Color.blue);
 }