public void DrawStyleBox(StyleBox styleBox, UIBox2 box) { if (!GameController.OnGodot) { return; } CheckDisposed(); styleBox.GodotStyleBox.Draw(Item, box.Convert()); }
public void DrawStyleBox(StyleBox styleBox, UIBox2 box) { if (styleBox == null) { throw new ArgumentNullException(nameof(styleBox)); } CheckDisposed(); if (GameController.OnGodot) { styleBox.GodotStyleBox.Draw(Item, box.Convert()); } else { styleBox.Draw(this, box); } }
public void DrawStyleBox(StyleBox styleBox, Box2 box) { CheckDisposed(); styleBox.GodotStyleBox.Draw(Item, box.Convert()); }