예제 #1
0
 private void InitEditor(WXPostProcessProfile profile)
 {
     if (profile != null && profile != lastProfile)
     {
         editor = new WXPostProcessProfileEditor(profile);
         editor.OnEnable();
     }
     lastProfile = profile;
 }
 public WXPostProcessProfileEditor(WXPostProcessProfile profile)
 {
     target           = profile;
     serializedObject = new SerializedObject(profile);
 }