protected void Awake() { MVRNodesMapper.CreateInstance(); MVRNodesCreator.CreateInstance(); InitializeVR(); }
protected void Awake() { // Attempt to collect objects from previous level System.GC.Collect(); System.GC.WaitForPendingFinalizers(); // Second call to work around a possible mono bug (see https://bugzilla.xamarin.com/show_bug.cgi?id=20503 ) System.GC.WaitForPendingFinalizers(); MVRNodesMapper.CreateInstance(); MVRNodesCreator.CreateInstance(); InitializeVR(); }