public void initialize <T>(ISceneInitData initData) where T : SceneBase { currentScene = GenericPrefab.Instantiate <T>(); currentScene.InitializeScene(initData); }