public static bool test2() { TestDataStruct myTest= new TestDataStruct(); myTest.x = 0.1f; myTest.y = 0.2f; myTest.z = 0.3f; myTest.id = 5; myTest.elementNumber = 7; TestStructExtreme(myTest); return true; }
public static bool test2() { TestDataStruct myTest = new TestDataStruct(); myTest.x = 0.1f; myTest.y = 0.2f; myTest.z = 0.3f; myTest.id = 5; myTest.elementNumber = 7; TestStructExtreme(myTest); return(true); }
public static extern void TestStructExtreme(TestDataStruct foo);