public static PreviewManager CreateNew() { if (GameCenter.previewManager == null) { PreviewManager previewManager = new PreviewManager(); previewManager.Init(); return(previewManager); } else { GameCenter.previewManager.UnRegist(); GameCenter.previewManager.Init(); return(GameCenter.previewManager); } }