InkWidgets
Changing and creating the User Interface
Summary
Basics of custom UI
// Create the rectangle
let rectangle = new inkRectangle();
// Make it fill it's parent (screen in our case)
rectangle.SetAnchor(inkEAnchor.Fill);
// Make it fully opaque (default color is white)
rectangle.SetOpacity(1.0);
// Now obtain the HUD layer
let inkSystem = GameInstance.GetInkSystem();
let hudRoot = inkSystem.GetLayer(n"inkHUDLayer").GetVirtualWindow();
// Put the rectangle in the HUD
rectangle.Reparent(hudRoot, -1);Animating inks

Last updated