Ejemplo n.º 1
0
    public override void applyTrembling(float value)
    {
        txUIObject mObject     = mComponentOwner as txUIObject;
        Vector3    curRotation = mStartRotation + (mTargetRotation - mStartRotation) * value;

        mObject.setLocalRotation(curRotation);
    }
Ejemplo n.º 2
0
    public override void applyRotation(Vector3 rotation, bool done = false, bool refreshNow = false)
    {
        txUIObject window = mComponentOwner as txUIObject;

        window.setLocalRotation(rotation);
    }