SerializableAction_Unity icon indicating copy to clipboard operation
SerializableAction_Unity copied to clipboard

Issue with dealing with List<SerializableAction>

Open Ferdric-AVPL opened this issue 5 years ago • 0 comments

Hi there,

First of all, this is a great plugin! I can get to call methods which need more than one parameter, let alone Enum parameters!

Second, I have an issue with regards to dealing with List<SerializableAction> field(s). Here is my code:

[System.Serializable]
public class Step
{
    public SerializableAction OnStartedAction;
    public SerializableAction OnFinishedAction;
}
public class StepManager : MonoBehaviour
{
    [SerializeField] private List<Step> steps;
}

The issue here is when I select a particular action listener of OnStartedAction in Element 0, the OnStartedAction listener of the same index in Element 1 is also selected. image

Second, when I add a new listener to OnStartedAction in Element 0, a new listener gets added to OnStartedAction in Element 1: image

Third, I dragged a Cube game object onto OnStartedAction in Element 0, and the same thing happens in OnStartedAction in Element 1: image

May I request that you fix this issue at the soonest?

Thank you!

Ferdric-AVPL avatar Feb 07 '20 10:02 Ferdric-AVPL