コード例 #1
0
ファイル: JavaRuntime.cs プロジェクト: zx8326123/LGame
 public static JavaRuntime GetJavaRuntime()
 {
     if (instance == null)
     {
         instance = new JavaRuntime();
     }
     return(instance);
 }
コード例 #2
0
ファイル: JavaRuntime.cs プロジェクト: zx8326123/LGame
        public static object NewInstance(string className)
        {
            Type type = JavaRuntime.ClassforName(className);

            return(Activator.CreateInstance(type));
        }