public override string SaveData()
        {
            ActionList actionList = GetComponent <ActionList>();

            if (actionList == null)
            {
                return(string.Empty);
            }

            ActionListParamData data = new ActionListParamData();

            data.objectID      = constantID;
            data.savePrevented = savePrevented;

            data.paramData = actionList.GetParameterData();

            return(Serializer.SaveScriptData <ActionListParamData> (data));
        }
        public override void LoadData(string stringData)
        {
            ActionList actionList = GetComponent <ActionList>();

            if (actionList == null)
            {
                return;
            }

            ActionListParamData data = Serializer.LoadScriptData <ActionListParamData> (stringData);

            if (data == null)
            {
                return;
            }
            SavePrevented = data.savePrevented; if (savePrevented)
            {
                return;
            }

            actionList.SetParameterData(data.paramData);
        }