Inspector
The inspector pane allows you to make changes to any entity in your scene like changing its size or layer and adding components

Last updated
Tycoon_Unlock_Button :: class : Interactable {
price: s64 @ao_serialize;
is_unlocked: bool;
ao_start :: method() {
set_listener(this);
set_text("Unlock");
}
can_use :: method(player: Player) -> bool {
return !is_unlocked;
}
on_interact :: method(player: Player) {
if !Economy.can_withdraw_currency(player, "Coins", price) return;
Economy.withdraw_currency(player, "Coins", price);
is_unlocked = true;
set_text("Unlocked");
}
}