public void RemoveRegister(IGameLifecycle obj) { if (!obj.ExIsNullOjbect()) { mGameLisfcycle.Remove(obj); } }
private T Convert <T>(IGameLifecycle obj) where T : class, IGameLifecycle { if (!obj.ExIsNullOjbect()) { return(obj as T); } return(null); }