public IEnumerator Setup() { SceneManager.sceneLoaded += OnSceneLoaded; var execAssembly = Assembly.GetExecutingAssembly(); var packagePath = PackageInfo.FindForAssembly(execAssembly).assetPath; var scenePath = Path.Combine(packagePath, $"Tests/Runtime/GlobalObjectIdHash/{nameof(NetworkObjectGlobalObjectIdHashTests)}.unity"); yield return(EditorSceneManager.LoadSceneAsyncInPlayMode(scenePath, new LoadSceneParameters(LoadSceneMode.Additive))); }
static TimelineHelpURLAttribute() { PackageInfo packageInfo = PackageInfo.FindForAssembly(typeof(TimelineAsset).Assembly); k_PackageVersion = packageInfo == null ? k_FallbackVersion : packageInfo.version.Substring(0, 3); }