Files
beyond/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsValidCustomEditor.cs
2024-11-20 15:21:28 +01:00

27 lines
586 B
C#

// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved.
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
using UnityEngine;
using UnityEditor;
using HutongGames.PlayMaker.Actions;
using HutongGames.PlayMakerEditor;
[CustomActionEditor(typeof(GetSceneIsValid))]
public class GetSceneIsValidCustomEditor : GetSceneActionBaseCustomEditor
{
public override bool OnGUI()
{
bool changed = EditSceneReferenceField();
EditField("isValid");
EditField("isValidEvent");
EditField("isNotValidEvent");
EditSceneReferenceResultFields();
return GUI.changed || changed;
}
}
#endif