I'm trying to call a function on a third party asset; and it continually seems to return that the method isn't be found, even though I'm calling it correctly.

I notice in his documentation that for the code using it, I'd naturally need to import the namespace, for example:

using Com.LuisPedroFonseca.ProCamera2D;


Is it necessary for me to 'import the namespace' in makinom in order for me to access this function? Is this possible to input this anywhere? I feel like I've done this before but it just seems to be slipping my mind at the moment.
Tactics RPG Grid Battle System for ORK
---------------------------------------
Personal Twitter: https://twitter.com/AMO_Crate
I make RFI! https://twitter.com/NootboxGames
  • Usually it should be enough to only use the class name, as Makinom will search in all available assemblies for the class.

    Have you tried using namespace and class name combined?
    I.e. 'Com.LuisPedroFonseca.ProCamera2D' instead of just 'ProCamera2D'.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Ah! I bet that might do it. I'll give it a go, thanks Gil. :)
    Tactics RPG Grid Battle System for ORK
    ---------------------------------------
    Personal Twitter: https://twitter.com/AMO_Crate
    I make RFI! https://twitter.com/NootboxGames
  • Nope; either specifying the camera as an actor or using Static, I get:

    Component type not found: Com.LuisPedroFonseca.ProCamera2D


    It's odd; I can access other components by the same asset, just not the main one, it seems.
    Tactics RPG Grid Battle System for ORK
    ---------------------------------------
    Personal Twitter: https://twitter.com/AMO_Crate
    I make RFI! https://twitter.com/NootboxGames
  • Hm, my best guess would be that the actual class (or namespace) is actually named differently (or has a typo in it :D).

    If you can send me a small Unity test project I could take a loot on what's going on, and add functionality if it's caused by Makinom.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.