()
| 147 | Pose windowPoseInput = new Pose(1.2f, 0, 0, Quat.Identity); |
| 148 | string inputState = "Initial text"; |
| 149 | void ShowWindowInput() |
| 150 | { |
| 151 | UI.WindowBegin("Window Input", ref windowPoseInput); |
| 152 | |
| 153 | // Add a small label in front of it on the same line |
| 154 | UI.Label("Text:"); |
| 155 | UI.SameLine(); |
| 156 | if (UI.Input("Text", ref inputState)) |
| 157 | Log.Info($"Input text just changed"); |
| 158 | |
| 159 | UI.WindowEnd(); |
| 160 | } |
| 161 | /// :End: |
| 162 | |
| 163 | /// :CodeSample: UI.Radio |