generated from tipragot/rust
WIP: Adding the menu #110
Labels
No labels
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Fix
Kind/Security
Kind/Testing
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: fish-cannard/border-wars#110
Loading…
Reference in a new issue
No description provided.
Delete branch "new-menu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes : #39
WIP: Adding a the menuto WIP: Adding the menu@ -15,2 +16,3 @@
fn build(&self, app: &mut App) {
app.add_systems(Update, menu_ui.run_if(in_state(CurrentScene::Menu)));
// app.add_systems(Update, menu_ui.run_if(in_state(CurrentScene::Menu)));
app.add_systems(OnEnter(CurrentScene::Menu), menu_ui2);
2 ?
@ -78,0 +86,4 @@
type TargetScene = CurrentScene;
fn menu_ui2(mut commands: Commands, asset_server: Res<AssetServer>) {
commands
Put some comments to tell which élément you are creating
@ -78,0 +288,4 @@
}
fn render<T: Bundle>(
This does not render anything, it only create ui elements
You should :
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.