()
| 22 | /// :End: |
| 23 | |
| 24 | public void Initialize() { |
| 25 | /// :CodeSample: Text.MakeStyle Font.FromFile Text.Add |
| 26 | /// In initialization, we can create the style from a font, a size, |
| 27 | /// and a base color. Overloads for MakeStyle can allow you to |
| 28 | /// override the default font shader, or provide a specific Material. |
| 29 | style = Text.MakeStyle( |
| 30 | Font.FromFile("aileron_font.ttf"), |
| 31 | 2 * U.cm, |
| 32 | Color.HSV(0.55f, 0.62f, 0.93f)); |
| 33 | /// :End: |
| 34 | } |
| 35 | |
| 36 | public void Shutdown() { } |
| 37 |