public void RemoveAllCalculateResultParams()
 {
     _calculatedStack.ClearResultParams();
     if (_childTransforms != null)
     {
         for (int i = 0; i < _childTransforms.Length; i++)
         {
             _childTransforms[i].RemoveAllCalculateResultParams();
         }
     }
 }
예제 #2
0
        public void ClearResultParams()
        {
            if (_calculatedStack == null)
            {
                _calculatedStack = new apOptCalculatedResultStack(this);
            }

            //Debug.Log("Clear Param : " + _transformID);
            _calculatedStack.ClearResultParams();
            _modifierStack.ClearAllCalculateParam();
        }
예제 #3
0
        public void ClearResultParams(bool isRecursive)
        {
            if (_calculatedStack == null)
            {
                _calculatedStack = new apOptCalculatedResultStack(this);
            }

            //Debug.Log("Clear Param : " + _transformID);
            _calculatedStack.ClearResultParams();
            _modifierStack.ClearAllCalculateParam();

            if (isRecursive)
            {
                if (_childTransforms != null && _childTransforms.Length > 0)
                {
                    for (int i = 0; i < _childTransforms.Length; i++)
                    {
                        _childTransforms[i].ClearResultParams(true);
                    }
                }
            }
        }