One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| # ##### BEGIN GPL LICENSE BLOCK ##### | |
| # | |
| # This program is free software; you can redistribute it and/or | |
| # modify it under the terms of the GNU General Public License | |
| # as published by the Free Software Foundation; either version 2 | |
| # of the License, or (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| // The interop signature in the Unity script. | |
| [DllImport("mypluginname")] | |
| private static extern bool getSomeArrayData(ref IntPtr ptrResultVerts, ref int resultVertLength); | |
| // An example of calling the interop function. | |
| public MyMarshallingMethod() | |
| { | |
| IntPtr ptrResultVerts = IntPtr.Zero; | |
| int resultVertLength = 0; |