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
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
TycoonUnlockButton :: class : Interactable {
price: int @ao_serialize;
is_unlocked: bool;
on_interact :: method(player: Player) {
if Economy.can_withdraw_currency(player, "Coins", price) {
Economy.withdraw_currency(player, "Coins", price);
is_unlocked = true;
}
}
// Logic to show/hide the item based on is_unlocked status...
}