コード例 #1
0
        static void OnSecondRuntimeMethodLoad()
        {
            GameObject gameObject = new GameObject("Wuxingogo Kernal");

            behaviour = gameObject.AddComponent <XMonoBehaviour>();
            Object.DontDestroyOnLoad(gameObject);
        }
コード例 #2
0
 static void OnSecondRuntimeMethodLoad()
 {
     GameObject gameObject = new GameObject("Wuxingogo Kernal");
     behaviour = gameObject.AddComponent<XMonoBehaviour>();
     Object.DontDestroyOnLoad(gameObject);
 }