public void RemoveAllCalculateResultParams() { _calculatedStack.ClearResultParams(); if (_childTransforms != null) { for (int i = 0; i < _childTransforms.Length; i++) { _childTransforms[i].RemoveAllCalculateResultParams(); } } }
public void ClearResultParams() { if (_calculatedStack == null) { _calculatedStack = new apOptCalculatedResultStack(this); } //Debug.Log("Clear Param : " + _transformID); _calculatedStack.ClearResultParams(); _modifierStack.ClearAllCalculateParam(); }
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); } } } }