Change the asset keys
This commit is contained in:
@@ -19,7 +19,7 @@ export function draw_gui_sprite(
|
||||
height?: number,
|
||||
color = [1, 1, 1, 1],
|
||||
) {
|
||||
const texture = AssetManager.instance.get<Texture>("bworld:gui");
|
||||
const texture = AssetManager.instance.get<Texture>("cubi:gui");
|
||||
const sprite = GUI_ATLAS[name];
|
||||
const [left, top, right, bottom] = sprite.border;
|
||||
draw_nine_slice(
|
||||
|
||||
Reference in New Issue
Block a user