public static void SampleDebugNew() { Debug.Log("SampleDebugNew"); if ( BuildiOS(GameType.Sample, false, false)==false ) EditorApplication.Exit(1); EditorApplication.Exit(0); }