mirror of
				https://github.com/raylib-cs/raylib-cs
				synced 2025-10-25 05:39:50 -04:00 
			
		
		
		
	Fix unable to run Raylib-cs.Android on debug mode (#193)
* Call `RaylibSetAndroidCallback` before `OnCreate` * CI: pack `Raylib-cs.Android` package
This commit is contained in:
		
							
								
								
									
										3
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -241,6 +241,9 @@ jobs: | ||||
|       - name: Create NuGet Package | ||||
|         run: dotnet pack Raylib-cs -c Release --output nuget | ||||
|  | ||||
|       - name: Create NuGet Package | ||||
|         run: dotnet pack Raylib-cs.Android -c Release --output nuget | ||||
|  | ||||
|       - name: Upload NuGet Package As Artifact | ||||
|         uses: actions/upload-artifact@v3 | ||||
|         with: | ||||
|   | ||||
| @@ -6,8 +6,8 @@ public abstract class RaylibActivity : NativeActivity | ||||
| { | ||||
|     protected override void OnCreate(Bundle? savedInstanceState) | ||||
|     { | ||||
|         base.OnCreate(savedInstanceState); | ||||
|         RaylibSetAndroidCallback(OnReady); | ||||
|         base.OnCreate(savedInstanceState); | ||||
|     } | ||||
|  | ||||
|     protected abstract void OnReady(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user