 b724a0f586
			
		
	
	
		b724a0f586
		
	
	
	
	
		
			
			# Objective - Remove all the `.system()` possible. - Check for remaining missing cases. ## Solution - Remove all `.system()`, fix compile errors - 32 calls to `.system()` remains, mostly internals, the few others should be removed after #2446
		
			
				
	
	
		
			19 lines
		
	
	
		
			393 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			393 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| use bevy::prelude::*;
 | |
| 
 | |
| fn main() {
 | |
|     App::new()
 | |
|         .add_startup_system(startup_system)
 | |
|         .add_system(normal_system)
 | |
|         .run();
 | |
| }
 | |
| 
 | |
| /// Startup systems are run exactly once when the app starts up.
 | |
| /// They run right before "normal" systems run.
 | |
| fn startup_system() {
 | |
|     println!("startup system ran first");
 | |
| }
 | |
| 
 | |
| fn normal_system() {
 | |
|     println!("normal system ran second");
 | |
| }
 |