Example #1
0
        //[NonSerialized]
        //private bool _isPrevSelectedMatched = false;

        // Functions
        //----------------------------------------------
        public override void InitCalculate(float tDelta)
        {
            base.InitCalculate(tDelta);

            if (_calculatedResultParams.Count == 0)
            {
                return;
            }

            apCalculatedResultParam calParam = null;

            for (int iCalParam = 0; iCalParam < _calculatedResultParams.Count; iCalParam++)
            {
                calParam = _calculatedResultParams[iCalParam];
                calParam.InitCalculate();
                calParam._isAvailable = false;

                //calParam._isAvailable = true;

                //List<Vector2> posList = calParam._result_Positions;
                //int nParamKeys = calParam._paramKeyValues.Count;
                //for (int iPos = 0; iPos < posList.Count; iPos++)
                //{
                //	posList[iPos] = Vector2.zero;


                //}
            }
        }
Example #2
0
        // Init
        //----------------------------------------------
        //public apModifier_Rigging() : base()
        //{
        //}

        //public override void Init()
        //{

        //}

        //----------------------------------------------
        public override void InitCalculate(float tDelta)
        {
            base.InitCalculate(tDelta);

            if (_calculatedResultParams.Count == 0)
            {
                return;
            }

            apCalculatedResultParam calParam = null;

            for (int iCalParam = 0; iCalParam < _calculatedResultParams.Count; iCalParam++)
            {
                calParam = _calculatedResultParams[iCalParam];
                calParam.InitCalculate();
                calParam._isAvailable = false;
            }
        }