protected override void InitTweenData() { string defaultVal = " x=30 y=30"; string arg = base.ParseCellOptional <string>(AdvColumnName.Arg3, defaultVal); if (!arg.Contains("x=") && !arg.Contains("y=")) { arg = arg + defaultVal; } string easeType = base.ParseCellOptional <string>(AdvColumnName.Arg4, string.Empty); string loopType = base.ParseCellOptional <string>(AdvColumnName.Arg5, string.Empty); iTweenType shakePosition = iTweenType.ShakePosition; base.tweenData = new iTweenData(shakePosition.ToString(), arg, easeType, loopType); }
public iTweenData(iTweenType type, string arg) { Init(type.ToString(), arg, "", ""); }
public iTweenData(iTweenType type, string arg) { this.hashObjects = new Dictionary <string, object>(); this.errorMsg = string.Empty; this.Init(type.ToString(), arg, string.Empty, string.Empty); }