Example #1
0
 private void Update()
 {
     //IL_00a2: Unknown result type (might be due to invalid IL or missing references)
     //IL_00b8: Unknown result type (might be due to invalid IL or missing references)
     if (!EditorApplication.get_isPlaying() && !EditorApplication.get_isPlayingOrWillChangePlaymode())
     {
         if (EditorPrefs.HasKey("blueprintID-" + pipeline.GetInstanceID().ToString()))
         {
             string @string = EditorPrefs.GetString("blueprintID-" + pipeline.GetInstanceID().ToString());
             pipeline.blueprintId = @string;
             EditorPrefs.DeleteKey("blueprintID-" + pipeline.GetInstanceID().ToString());
         }
         EditorUtility.SetDirty(pipeline);
         EditorSceneManager.MarkSceneDirty(pipeline.get_gameObject().get_scene());
         EditorSceneManager.SaveScene(pipeline.get_gameObject().get_scene());
         Object.DestroyImmediate(this);
     }
 }