mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-04-03 11:09:40 -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:
parent
9b7bcec250
commit
c5560664ed
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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user