Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Scriptable Action script is causing multiple conflicts with Unity Actions delegate #6

Closed
SamRockX opened this issue Sep 6, 2021 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@SamRockX
Copy link

SamRockX commented Sep 6, 2021

The Scriptable Action script is causing multiple conflicts with Unity Actions delegate

error: Assets\Krearthur\GOPainter\Scripts\GOPainter.cs(196,29): error CS0066: 'GOPainter.OnGOPainterDeactivated': event must be of a delegate type

image

image

image

@SamRockX
Copy link
Author

SamRockX commented Sep 6, 2021

Renaming "Action" to something like "ParkourAction" seems to fix the issue

@SteffanoDeMoura
Copy link

SteffanoDeMoura commented Sep 6, 2021

it would also be good to surround the whole system with its own namespace.

@knela96
Copy link
Owner

knela96 commented Sep 7, 2021

Working on the Fix Thnx

@knela96 knela96 self-assigned this Sep 7, 2021
@knela96 knela96 added the bug Something isn't working label Sep 7, 2021
@knela96
Copy link
Owner

knela96 commented Sep 7, 2021

@SamRockX Could you download the v1.0.1 and confirm if the errors disappear?
I forgot to include the namespace "Climbing" as @SteffanoDeMoura suggested.

@SamRockX
Copy link
Author

SamRockX commented Sep 8, 2021

@knela96 Thank you for the quick fix! The new version removed all errors :)

@knela96 knela96 closed this as completed Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants