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

namespace intCallback could not be found #1

Open
qpaozixu opened this issue Dec 23, 2020 · 1 comment
Open

namespace intCallback could not be found #1

qpaozixu opened this issue Dec 23, 2020 · 1 comment

Comments

@qpaozixu
Copy link

qpaozixu commented Dec 23, 2020

Unity 2019.2.20 meet some error.
Assets/Scripts/PluginTest.cs(153,34): error CS0246: The type or namespace name 'intCallback' could not be found (are you missing a using directive or an assembly reference?)

@drpepsi716
Copy link

drpepsi716 commented Jun 9, 2021

The delegate is trapped in a preprocessor directive where it's only declared when the build target is set to iOS. Make sure you set your build target to iOS. EDIT: ...or you can edit the PluginTest.cs script to remove the declaration from the preprocessor directive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants