public void TerminateActivity(IActivity activity) { if (!isRunning) { Debug.LogWarning("SessionManager wasn't running. Initializing."); Initialize(); } activity.EndActivity(); _activityViewHistory.Remove(activity); Debug.Log("Terminating Activity: " + activity.GetType().Name); }