|
|||
|
Hi All:
1: swfkit, you can info Unity3d Web Player do? If you can, please send code to me? 2: How do I correct the C # DLL import in Swfkit C # code: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TestCom { public class StrAddClass { public string testStr (string str1, string str2) { return "Messages:" + str1 + str2; } } } ffish code: var mydll = getAdditionalFile ("TestCom.dll"); dllimport mydll stdcall String StrAddClass (); var Test = StrAddClass (); trace ("Test =" + testStr ("hello", "Swfkit")); Erorr takes place after preview: Warning: using undefined variable "StrAddClass" Warning: call a undefined function Warning: using undefined variable "testStr" Warning: call a undefined function Test = undefined I am a beginner, looking for Swfkit Dll function using a custom method, hope you give me help, thanks! My English is very poor, more than the contents of the translation software from google ^ _ ^ |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|