- Android Activity 여러개 사용하는 방법
Code (csharp):
- #if UNITY_ANDROID
- //Grab the current activity (the one declared as MAIN in the manifest - can be an other plugin)
- //Give the activity instance to my own static method to launch an activity from there
- #endif
In the com.my.package.RootActivity java file :
Code (csharp):
intent.putExtra(RootActivity.EXTRA_BOOLEAN_PARAM1, param1); intent.putExtra(RootActivity.EXTRA_STRING_PARAM2, param2); intent.putExtra(RootActivity.EXTRA_INT_PARAM3, param3); }
댓글
댓글 쓰기