Hi!
How can I show CompoundArrayAttribute on CustomActionEditor?
I tried to custom my action in CustomActionEditor to showing two CompoundArray but it not work? What am I doing wrong?
Thanks!
namespace HutongGames.PlayMakerEditor
{
[CustomActionEditor(typeof(HutongGames.PlayMaker.Actions.RaycastLayerAndTag))]
public class RatcastLayerAndTagCustomEditor : CustomActionEditor
{
private RaycastLayerAndTag raycastLayerAndTag;
public override bool OnGUI()
{
raycastLayerAndTag = target as RaycastLayerAndTag;
EditField("compareLayer");
EditField("sendLayerEvent");
EditField("compareTag");
EditField("sendTagEvent");
return GUI.changed;
}
}
}