【3Dゲームエンジン】Unity質問スレッド9at GAMEDEV【3Dゲームエンジン】Unity質問スレッド9
- 暇つぶし2ch1006:名前は開発中のものです。 14/06/26 11:24:37.62 Aj7X+jwv.net >>992 こんな感じでいいんじゃね void LoadLevel<T>(T scene) { if( scene is int ) Application.LoadLevel(System.Convert.ToInt32(scene)); else if( scene is string ) Application.LoadLevel(scene as string); }