25 lines
587 B
C#
25 lines
587 B
C#
// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved.
|
|
|
|
#if !UNITY_5_3_0 && !UNITY_5_3_1 && ( UNITY_5_3 || UNITY_5_3_OR_NEWER )
|
|
|
|
using UnityEngine;
|
|
using UnityEditor;
|
|
using HutongGames.PlayMaker.Actions;
|
|
using HutongGames.PlayMakerEditor;
|
|
|
|
[CustomActionEditor(typeof(GetSceneRootGameObjects))]
|
|
public class GetSceneRootGameObjectsCustomEditor : GetSceneActionBaseCustomEditor
|
|
{
|
|
public override bool OnGUI()
|
|
{
|
|
bool changed = EditSceneReferenceField();
|
|
|
|
EditField("rootGameObjects");
|
|
|
|
EditSceneReferenceResultFields ();
|
|
|
|
return GUI.changed || changed;
|
|
}
|
|
}
|
|
|
|
#endif |