コード例 #1
0
        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);
        }
コード例 #2
0
 public iTweenData(iTweenType type, string arg)
 {
     Init(type.ToString(), arg, "", "");
 }
コード例 #3
0
 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);
 }