Skip to content

Commit 707edfa

Browse files
committed
Add rotation to editor panel
1 parent 2e61c0d commit 707edfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Components/EditorComponent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ public void OnGUI()
101101
//guiText += $"Distance To Nearest Waypoint: {distanceToZone}\n";
102102
guiText += $"{(navMeshHit.hit ? "Inside" : "Outside")} of Navmesh\n";
103103
guiText += $"Loc: {player.Position.x}, {player.Position.y}, {player.Position.z}\n";
104+
guiText += $"Rot: {player.Rotation}";
104105

105106
// Draw the GUI
106107
guiContent.text = guiText;

0 commit comments

Comments
 (0)