public override void applyTrembling(float value) { txUIObject mObject = mComponentOwner as txUIObject; Vector3 curRotation = mStartRotation + (mTargetRotation - mStartRotation) * value; mObject.setLocalRotation(curRotation); }
public override void applyRotation(Vector3 rotation, bool done = false, bool refreshNow = false) { txUIObject window = mComponentOwner as txUIObject; window.setLocalRotation(rotation); }