public AdvCommandSprite(StringGridRow row, AdvSettingDataManager dataManager) { this.spriteName = AdvParser.ParseCell <string>(row, AdvColumnName.Arg1); string fileName = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Arg2, spriteName); if (!dataManager.TextureSetting.ContainsLabel(fileName)) { Debug.LogError(row.ToErrorString(fileName + " is not contained in file setting")); } this.file = AddLoadFile(dataManager.TextureSetting.LabelToFilePath(fileName)); this.layerName = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Arg3, ""); if (!string.IsNullOrEmpty(layerName) && !dataManager.LayerSetting.Contains(layerName, AdvLayerSettingData.LayerType.Sprite)) { Debug.LogError(row.ToErrorString(layerName + " is not contained in layer setting")); } //表示位置 float x; if (AdvParser.TryParseCell <float>(row, AdvColumnName.Arg4, out x)) { this.x = x; } float y; if (AdvParser.TryParseCell <float>(row, AdvColumnName.Arg5, out y)) { this.y = y; } //フェード時間 this.fadeTime = AdvParser.ParseCellOptional <float>(row, AdvColumnName.Arg6, 0.2f); }
public AdvCommandSelection(StringGridRow row, AdvSettingDataManager dataManager) { this.jumpLabel = AdvCommandParser.ParseScenarioLabel(row, AdvColumnName.Arg1); this.text = AdvParser.ParseCell <string>(row, AdvColumnName.Text); string expStr = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Arg2, ""); if (string.IsNullOrEmpty(expStr)) { this.exp = null; } else { this.exp = dataManager.DefaultParam.CreateExpressionBoolean(expStr); if (this.exp.ErrorMsg != null) { Debug.LogError(row.ToErrorString(this.exp.ErrorMsg)); } } string selectedExpStr = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Arg3, ""); if (string.IsNullOrEmpty(selectedExpStr)) { this.selectedExp = null; } else { this.selectedExp = dataManager.DefaultParam.CreateExpression(selectedExpStr); if (this.selectedExp.ErrorMsg != null) { Debug.LogError(row.ToErrorString(this.selectedExp.ErrorMsg)); } } }
public GraphicInfo(StringGridRow row) { this.RowData = row; this.fileName = AdvParser.ParseCell <string>(row, AdvColumnName.FileName); try { this.pivot = ParserUtil.ParsePivotOptional(AdvParser.ParseCellOptional <string>(row, AdvColumnName.Pivot, ""), pivot); } catch (System.Exception e) { Debug.LogError(row.ToErrorString(e.Message)); } try { this.scale = ParserUtil.ParseScale2DOptional(AdvParser.ParseCellOptional <string>(row, AdvColumnName.Scale, ""), this.scale); } catch (System.Exception e) { Debug.LogError(row.ToErrorString(e.Message)); } this.CondionalExpression = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Conditional, ""); this.version = AdvParser.ParseCellOptional <int>(row, AdvColumnName.Version, 0); // this.IgnoreLoad = AdvParser.ParseCellOptional<bool>(row, AdvColumnName.IgnoreLoad, false); }
public AdvGraphicInfo(string dataType, int index, string key, StringGridRow row, IAdvSettingData advSettindData) { this.DataType = dataType; this.Index = index; this.Key = key; this.SettingData = advSettindData; this.RowData = row; switch (DataType) { case AdvGraphicInfo.TypeParticle: this.FileType = AdvGraphicInfo.FileTypeParticle; break; default: this.FileType = AdvParser.ParseCellOptional <string>(row, AdvColumnName.FileType, ""); break; } this.FileName = AdvParser.ParseCell <string>(row, AdvColumnName.FileName); try { this.Pivot = ParserUtil.ParsePivotOptional(AdvParser.ParseCellOptional <string>(row, AdvColumnName.Pivot, ""), new Vector2(0.5f, 0.5f)); } catch (System.Exception e) { Debug.LogError(row.ToErrorString(e.Message)); } try { this.Pivot0 = ParserUtil.ParsePivotOptional(AdvParser.ParseCellOptional <string>(row, AdvColumnName.Pivot0, ""), new Vector2(0.5f, 0.5f)); } catch (System.Exception e) { Debug.LogError(row.ToErrorString(e.Message)); } try { this.Scale = ParserUtil.ParseScale3DOptional(AdvParser.ParseCellOptional <string>(row, AdvColumnName.Scale, ""), Vector3.one); } catch (System.Exception e) { Debug.LogError(row.ToErrorString(e.Message)); } Vector3 pos; pos.x = AdvParser.ParseCellOptional <float>(row, AdvColumnName.X, 0); pos.y = AdvParser.ParseCellOptional <float>(row, AdvColumnName.Y, 0); pos.z = AdvParser.ParseCellOptional <float>(row, AdvColumnName.Z, 0); this.Position = pos; this.SubFileName = AdvParser.ParseCellOptional <string>(row, AdvColumnName.SubFileName, ""); this.ConditionalExpression = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Conditional, ""); this.RenderTextureSetting.Parse(row); }
//連続するデータとして追加できる場合はする。基本はしない protected override AdvCharacterSettingData ParseFromStringGridRow(AdvCharacterSettingData last, StringGridRow row, AdvBootSetting bootSetting) { //キャラ名 string name = AdvParser.ParseCellOptional <string>(row, AdvColumnName.CharacterName, ""); //表示パターン string pattern = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Pattern, ""); //表示名 string nameText = AdvParser.ParseCellOptional <string>(row, AdvColumnName.NameText, ""); //キャラ名が空白なら、直前と同じキャラ名を使う if (string.IsNullOrEmpty(name)) { if (last == null) { Debug.LogError(row.ToErrorString("Not Found Chacter Name")); return(null); } name = last.Name; } //表示名が空で、直前のデータとキャラ名が同じならその名前を使う if (string.IsNullOrEmpty(nameText)) { if (last != null && (name == last.Name)) { nameText = last.NameText; } else { nameText = name; } } AdvCharacterSettingData data = new AdvCharacterSettingData(); data.Init(name, pattern, nameText, row); if (!Dictionary.ContainsKey(data.Key)) { AddData(data); data.BootInit(bootSetting); if (!defaultKey.ContainsKey(name)) { defaultKey.Add(name, data.Key); } return(data); } else { string errorMsg = ""; errorMsg += row.ToErrorString(ColorUtil.AddColorTag(data.Key, Color.red) + " is already contains"); Debug.LogError(errorMsg); } return(null); }
public void Parse(StringGridRow row) { this.RenderTextureType = AdvParser.ParseCellOptional <AdvRenderTextureMode>(row, AdvColumnName.RenderTexture, AdvRenderTextureMode.None); if (RenderTextureType != AdvRenderTextureMode.None) { try { float[] rect = row.ParseCellArray <float>(AdvColumnName.RenderRect.QuickToString()); if (rect.Length != 4) { Debug.LogError(row.ToErrorString("IconRect. Array size is not 4")); } else { this.RenderTextureOffset = new Vector3(-rect[0], -rect[1], 1000); this.RenderTextureSize = new Vector2(rect[2], rect[3]); } } catch (Exception) { // Debug.LogError(row.ToErrorString("IconRect. Array size is not 4")); } } }
public void AddTbl(StringGrid grid) { if (grid.Rows.Count < 3) { Debug.LogError(grid.Name + " is not Param Sheet"); } else { StringGridRow names = grid.Rows[0]; StringGridRow types = grid.Rows[1]; StringGridRow fileTypes = grid.Rows[2]; AdvParamStruct header = new AdvParamStruct(names, types, fileTypes); for (int i = 3; i < grid.Rows.Count; i++) { StringGridRow values = grid.Rows[i]; if (!values.IsEmptyOrCommantOut) { AdvParamStruct struct3 = new AdvParamStruct(header, values); string key = values.Strings[0]; if (this.Tbl.ContainsKey(key)) { values.ToErrorString(key + " is already contains "); } else { this.Tbl.Add(key, struct3); } } } } }
/// <summary> /// コマンド生成 /// </summary> /// <param name="row">行データ</param> /// <param name="dataManager">データマネージャー</param> /// <returns>生成されたコマンド</returns> static public AdvCommand CreateCommand(StringGridRow row, AdvSettingDataManager dataManager) { if (IsComment(row)) { //コメント return(null); } AdvCommand command = null; ///独自のコマンド解析処理があるならそっちを先に // if (CallBackCreateCustomCommnad != null) command = CallBackCreateCustomCommnad(row, dataManager); ///基本のコマンド解析処理 if (command == null) { command = CreateCommandDefault(row, dataManager); } if (command == null) { //記述ミス Debug.LogError(row.ToErrorString(LanguageAdvErrorMsg.LocalizeTextFormat(AdvErrorMsg.CommnadParseNull))); } return(command); }
public void ParseHeader(int headerRow) { this.headerRow = headerRow; this.ColumnIndexTbl = new Dictionary <string, int>(); if (headerRow < this.Rows.Count) { StringGridRow row = this.Rows[headerRow]; for (int i = 0; i < row.Strings.Length; i++) { string key = row.Strings[i]; if (this.ColumnIndexTbl.ContainsKey(key)) { string str2 = string.Empty; if (!string.IsNullOrEmpty(key)) { Debug.LogError(str2 + row.ToErrorString(ColorUtil.AddColorTag(key, Color.get_red()) + " is already contains")); } } else { this.ColumnIndexTbl.Add(key, i); } } } else { object[] args = new object[] { headerRow, this.name }; Debug.LogError(LanguageErrorMsg.LocalizeTextFormat(ErrorMsg.StringGridParseHaeder, args)); } }
public AdvCommandBgEvent(StringGridRow row, AdvSettingDataManager dataManager) { this.label = AdvParser.ParseCell <string>(row, AdvColumnName.Arg1); if (!dataManager.TextureSetting.ContainsLabel(label)) { Debug.LogError(row.ToErrorString(label + " is not contained in file setting")); } this.file = AddLoadFile(dataManager.TextureSetting.LabelToFilePath(label)); //表示位置 float x; if (AdvParser.TryParseCell <float>(row, AdvColumnName.Arg4, out x)) { this.x = x; } float y; if (AdvParser.TryParseCell <float>(row, AdvColumnName.Arg5, out y)) { this.y = y; } //フェード時間 this.fadeTime = AdvParser.ParseCellOptional <float>(row, AdvColumnName.Arg6, 0.2f); }
public AdvEffectDataShake(StringGridRow row) { this.targetName = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Arg1, ""); if (!UtageToolKit.TryParaseEnum <TargetType>(this.targetName, out this.targetType)) { this.targetType = TargetType.Default; } this.targetName = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Arg2, this.targetName); string defaultStr = " x=30 y=30"; string arg = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Arg3, defaultStr); if (!arg.Contains("x=") && !arg.Contains("y=")) { arg += defaultStr; } string easeType = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Arg4, ""); string loopType = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Arg5, ""); this.tweenData = new iTweenData(iTweenType.ShakePosition.ToString(), arg, easeType, loopType); this.waitType = AdvParser.ParseCellOptional <WaitType>(row, AdvColumnName.Arg6, WaitType.Wait); if (!string.IsNullOrEmpty(tweenData.ErrorMsg)) { Debug.LogError(row.ToErrorString(tweenData.ErrorMsg)); } }
/// <summary> /// コマンド生成 /// </summary> /// <param name="row">行データ</param> /// <param name="dataManager">データマネージャー</param> /// <returns>生成されたコマンド</returns> static public AdvCommand CreateCommand(StringGridRow row, AdvSettingDataManager dataManager) { if (row.IsCommentOut || IsComment(row)) { //コメント return(null); } ///基本のコマンド解析処理 AdvCommand command = CreateCommand(ParseCommandID(row), row, dataManager); if (command == null) { //列名がついたセル全て空かどうか if (row.IsAllEmptyCellNamedColumn()) { } else { //記述ミス Debug.LogError(row.ToErrorString(LanguageAdvErrorMsg.LocalizeTextFormat(AdvErrorMsg.CommnadParseNull))); } } return(command); }
//構造体のパラメーターテーブルとしてデータ解析 public void AddTbl(StringGrid grid) { if (grid.Rows.Count < 3) { Debug.LogError(grid.Name + " is not Param Sheet"); return; } StringGridRow row0 = grid.Rows[0]; StringGridRow row1 = grid.Rows[1]; StringGridRow row2 = grid.Rows[2]; AdvParamStruct header = new AdvParamStruct(row0, row1, row2); for (int i = 3; i < grid.Rows.Count; ++i) { StringGridRow row = grid.Rows[i]; if (row.IsEmptyOrCommantOut) { continue; } AdvParamStruct data = new AdvParamStruct(header, row); string key = row.Strings[0]; if (Tbl.ContainsKey(key)) { row.ToErrorString(key + " is already contains "); } else { Tbl.Add(key, data); } } }
/// <summary> /// ヘッダーの解析 /// </summary> /// <param name="headerRow">ヘッダー情報のある行番号</param> public void ParseHeader(int headerRow) { this.headerRow = headerRow; ColumnIndexTbl = new Dictionary <string, int>(); if (headerRow < Rows.Count) { StringGridRow row = Rows[headerRow]; for (int i = 0; i < row.Strings.Length; ++i) { string key = row.Strings[i]; if (ColumnIndexTbl.ContainsKey(key)) { string errorMsg = ""; // if( string.IsNullOrWhiteSpace(key) ) // { // errorMsg += row.ToErrorString( "empty header in row:" + UtageToolKit.AddColorTag(""+i,"red") ); // } // else { errorMsg += row.ToErrorString(ColorUtil.AddColorTag(key, Color.red) + " is already contains"); } Debug.LogError(errorMsg); } else { ColumnIndexTbl.Add(key, i); } } } else { Debug.LogError(LanguageErrorMsg.LocalizeTextFormat(ErrorMsg.StringGridParseHaeder, headerRow, this.name)); } }
public AdvFaceIconInfo(StringGridRow row) { this.FileName = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Icon, ""); if (!string.IsNullOrEmpty(FileName)) { if (!AdvParser.IsEmptyCell(row, AdvColumnName.IconSubFileName)) { this.IconType = AdvFaceIconInfo.Type.DicingPattern; this.IconSubFileName = AdvParser.ParseCell <string>(row, AdvColumnName.IconSubFileName); } else { this.IconType = AdvFaceIconInfo.Type.IconImage; } } else if (!AdvParser.IsEmptyCell(row, AdvColumnName.IconRect)) { float[] rect = row.ParseCellArray <float>(AdvColumnName.IconRect.QuickToString()); if (rect.Length == 4) { this.IconType = AdvFaceIconInfo.Type.RectImage; this.IconRect = new Rect(rect[0], rect[1], rect[2], rect[3]); } else { Debug.LogError(row.ToErrorString("IconRect. Array size is not 4")); } } else { this.IconType = Type.None; } }
/// <summary> /// ヘッダーの解析 /// </summary> /// <param name="headerRow">ヘッダー情報のある行番号</param> public void ParseHeader(int headerRow) { UnityEngine.Profiling.Profiler.BeginSample("ParseHeader"); this.headerRow = headerRow; ColumnIndexTbl = new Dictionary <string, int>(); if (headerRow < Rows.Count) { StringGridRow row = Rows[headerRow]; for (int i = 0; i < row.Strings.Length; ++i) { string key = row.Strings[i]; if (ColumnIndexTbl.ContainsKey(key)) { string errorMsg = ""; if (!string.IsNullOrEmpty(key)) { errorMsg += row.ToErrorString(ColorUtil.AddColorTag(key, Color.red) + " is already contains"); Debug.LogError(errorMsg); } } else { ColumnIndexTbl.Add(key, i); } } } else { Debug.LogError(LanguageErrorMsg.LocalizeTextFormat(ErrorMsg.StringGridParseHaeder, headerRow, this.name)); } UnityEngine.Profiling.Profiler.EndSample(); }
public AdvCommandIf(StringGridRow row, AdvSettingDataManager dataManger) { this.exp = dataManger.DefaultParam.CreateExpressionBoolean(AdvParser.ParseCell <string>(row, AdvColumnName.Arg1)); if (this.exp.ErrorMsg != null) { Debug.LogError(row.ToErrorString(this.exp.ErrorMsg)); } }
public AdvCommandLayerReset(StringGridRow row, AdvSettingDataManager dataManager) : base(row) { this.name = base.ParseCell <string>(AdvColumnName.Arg1); if (!dataManager.LayerSetting.Contains(this.name)) { Debug.LogError(row.ToErrorString("Not found " + this.name + " Please input Layer name")); } }
public AdvAnimationData(StringGrid grid, ref int index, bool legacy) { this.Clip = new AnimationClip(); this.Clip.set_legacy(legacy); this.ParseHeader(grid.Rows[index++]); List <float> timeTbl = this.ParseTimeTbl(grid.Rows[index++]); if (!this.Clip.get_legacy()) { this.AddDummyCurve(timeTbl); } while (index < grid.Rows.Count) { StringGridRow row = grid.Rows[index]; try { if (row.IsEmptyOrCommantOut) { index++; } else { PropertyType type; if (this.IsHeader(row)) { break; } if (!row.TryParseCellTypeOptional <PropertyType>(0, PropertyType.Custom, out type)) { string str2; string str3; row.ParseCell <string>(0).Separate('.', false, out str2, out str3); Type type2 = Type.GetType(str2); if (type2 == null) { Debug.LogError(str2 + "is not class name"); } this.Clip.SetCurve(string.Empty, type2, str3, this.ParseCurve(timeTbl, row)); } else if (this.IsEvent(type)) { this.AddEvent(type, timeTbl, row); } else { this.AddCurve(type, this.ParseCurve(timeTbl, row)); } index++; } continue; } catch (Exception exception) { Debug.LogError(row.ToErrorString(exception.Message)); continue; } } }
//シナリオラベルを解析・取得 static public string ParseScenarioLabel(StringGridRow row, AdvColumnName name) { string label; if (!TryParseScenarioLabel(row, name, out label)) { Debug.LogError(row.ToErrorString(LanguageAdvErrorMsg.LocalizeTextFormat(AdvErrorMsg.NotScenarioLabel, label))); } return(label); }
// シナリオラベルを解析 static public string ParseScenarioLabel(StringGridRow row, AdvColumnName columnName) { string label = AdvParser.ParseCell <string>(row, columnName); if (!IsScenarioLabel(label)) { Debug.LogError(row.ToErrorString(LanguageAdvErrorMsg.LocalizeTextFormat(AdvErrorMsg.NotScenarioLabel, label))); } return(label.Substring(1)); }
//マクロシートからマクロデータを作って追加。追加なければfalse public bool TryAddMacroData(string name, StringGrid grid) { if (!IsMacroName(name)) { return(false); } int index = 0; while (index < grid.Rows.Count) { StringGridRow row = grid.Rows[index]; ++index; if (row.RowIndex < grid.DataTopRow) { continue; //データの行じゃない } if (row.IsEmptyOrCommantOut) { continue; //データがない } string macroName; if (TryParseMacoBegin(row, out macroName)) { List <StringGridRow> rowList = new List <StringGridRow>(); while (index < grid.Rows.Count) { StringGridRow macroRow = grid.Rows[index]; ++index; if (macroRow.IsEmptyOrCommantOut) { continue; //データがない } if (AdvParser.ParseCellOptional <string>(macroRow, AdvColumnName.Command, "") == "EndMacro") { break; } rowList.Add(macroRow); } if (macroDataTbl.ContainsKey(macroName)) { Debug.LogError(row.ToErrorString(macroName + " is already contains ")); } else { macroDataTbl.Add(macroName, new AdvMacroData(macroName, row, rowList)); } } } return(true); }
//エラー文字列 public string ToErrorString(string str, string gridName) { if (rowData != null) { return(rowData.ToErrorString(str)); } else { return(str + " " + gridName); } }
public AdvCommandBgm(StringGridRow row, AdvSettingDataManager dataManager) { string label = AdvParser.ParseCell <string>(row, AdvColumnName.Arg1); if (!dataManager.SoundSetting.Contains(label, SoundType.Bgm)) { Debug.LogError(row.ToErrorString(label + " is not contained in file setting")); } this.file = AddLoadFile(dataManager.SoundSetting.LabelToFilePath(label, SoundType.Bgm)); }
public AdvCommandLayerOff(StringGridRow row, AdvSettingDataManager dataManager) : base(row) { this.name = ParseCell <string>(AdvColumnName.Arg1); if (!dataManager.LayerSetting.Contains(name)) { Debug.LogError(row.ToErrorString("Not found " + name + " Please input Layer name")); } //フェード時間 this.fadeTime = ParseCellOptional <float>(AdvColumnName.Arg6, 0.2f); }
protected override AdvCharacterSettingData ParseFromStringGridRow(AdvCharacterSettingData last, StringGridRow row) { string name = AdvParser.ParseCellOptional <string>(row, AdvColumnName.CharacterName, string.Empty); string pattern = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Pattern, string.Empty); string nameText = AdvParser.ParseCellOptional <string>(row, AdvColumnName.NameText, string.Empty); if (string.IsNullOrEmpty(name)) { if (last == null) { Debug.LogError(row.ToErrorString("Not Found Chacter Name")); return(null); } name = last.Name; } if (string.IsNullOrEmpty(nameText)) { if ((last != null) && (name == last.Name)) { nameText = last.NameText; } else { nameText = name; } } AdvCharacterSettingData data = new AdvCharacterSettingData(); data.Init(name, pattern, nameText, row); if (!base.Dictionary.ContainsKey(data.Key)) { base.AddData(data); if (!this.defaultKey.ContainsKey(name)) { this.defaultKey.Add(name, data.Key); } return(data); } Debug.LogError(string.Empty + row.ToErrorString(ColorUtil.AddColorTag(data.Key, Color.get_red()) + " is already contains")); return(null); }
public AdvCommandAmbience(StringGridRow row, AdvSettingDataManager dataManager) { string label = AdvParser.ParseCell <string>(row, AdvColumnName.Arg1); if (!dataManager.SoundSetting.Contains(label, SoundType.Ambience)) { Debug.LogError(row.ToErrorString(label + " is not contained in file setting")); } this.file = AddLoadFile(dataManager.SoundSetting.LabelToFilePath(label, SoundType.Ambience)); this.isLoop = AdvParser.ParseCellOptional <bool>(row, AdvColumnName.Arg2, false); }
public AdvCommandText(StringGridRow row) { this.text = AdvParser.ParseCell <string>(row, AdvColumnName.Text); if (AdvCommand.IsEditorErrorCheck) { TextData textData = new TextData(text); if (!string.IsNullOrEmpty(textData.ErrorMsg)) { Debug.LogError(row.ToErrorString(textData.ErrorMsg)); } } }
public AdvCommandChangeLayer(StringGridRow row, AdvSettingDataManager dataManager) : base(row) { this.objectName = ParseCell <string>(AdvColumnName.Arg1); this.repositionType = ParseCellOptional(AdvColumnName.Arg2, AdvChangeLayerRepositionType.KeepGlobal); this.layerName = ParseCell <string>(AdvColumnName.Arg3); if (!dataManager.LayerSetting.Contains(layerName)) { Debug.LogError(row.ToErrorString("Not found " + layerName + " Please input Layer name")); } fadeTime = ParseCellOptional(AdvColumnName.Arg6, 0.2f); }
public AdvCommandSprite(StringGridRow row, AdvSettingDataManager dataManager) : base(row) { this.spriteName = AdvParser.ParseCell <string>(row, AdvColumnName.Arg1); string fileName = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Arg2, spriteName); if (!dataManager.TextureSetting.ContainsLabel(fileName)) { Debug.LogError(row.ToErrorString(fileName + " is not contained in file setting")); } this.graphic = dataManager.TextureSetting.LabelToGraphic(fileName); AddLoadGraphic(graphic); this.layerName = AdvParser.ParseCellOptional <string>(row, AdvColumnName.Arg3, ""); if (!string.IsNullOrEmpty(layerName) && !dataManager.LayerSetting.Contains(layerName, AdvLayerSettingData.LayerType.Sprite)) { Debug.LogError(row.ToErrorString(layerName + " is not contained in layer setting")); } //グラフィック表示処理を作成 this.graphicOperaitonArg = new AdvGraphicOperaitonArg(row, graphic, AdvParser.ParseCellOptional <float>(row, AdvColumnName.Arg6, 0.2f)); }