コード例 #1
0
        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);
        }