Forum Discussion
GesusMist
2 years agoHonored Guest
Confused about namespace issue.
I have a grabbable object, and I want it to triger a function of another class ScreenShotManager when it is grabbed, so I announce a variable like this
public ScreenShotManager shotManager;
But it throws an error when compiling: Assets\Oculus\Interaction\Runtime\Scripts\Interaction\Grabbable\Grabbable.cs(47,16): error CS0246: The type or namespace name 'ScreenShotManager' could not be found (are you missing a using directive or an assembly reference?)
The ScreenShotManager.cs is under Assets\Tests\Scripts and it doesn't belong to any namespace.
How could I solve this?
Replies have been turned off for this discussion
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 months ago
- 11 months ago
- 1 year ago
- 1 year ago