jacksondunstan/UnityNativeScripting

Define Arrays parameter caused an error

sekkit opened this issue · 3 comments

                        "Name": "Game.Utils.Logger",
			"Methods": [
				{
					"Name": "info",
					"ParamTypes": [ 
						"System.Object[]" 
					] 
				},
                       ]

use of undefined type 'System::Array1<System::Object>'	NativeScript	C:\Projects\Research\unitycpp\Unity\Libs\CppSource\NativeScript\Bindings.cpp	5986	

After reading issues and your blog, this problem is solved.
I strongly recommend simplify the type definition process... kinda complexity for newbies.

I'm glad to hear that you solved the problem. Please feel free to recommend any simplifications to the config file format.

Yeah, I already modified the generatebinding a bit, but a editor/config tool is required in the future if use it in real project