예제 #1
0
 /// <summary>Asks the renderer for a layout (Used internally).</summary>
 public static void RequestLayout()
 {
     if (Renderer == null)
     {
         return;
     }
     Renderer.RequestLayout();
 }
예제 #2
0
 /// <summary>Flushes resolution changes. Use this after a set resolution method if you want to see your
 /// changes on the next update. Note that this is not needed when you've just created your WorldUI or if you're
 /// also changing any innerHTML or styles at the same time. Internally this just generates a layout request.</summary>
 public void UpdateResolution()
 {
     Renderer.RequestLayout();
 }