protected override void OnUpdate(float factor, bool isFinished) { cachedTransform.localScale = from * (1f - factor) + to * factor; if (updateTable) { if (mTable == null) { mTable = NGUITools.FindInParents<NGUITable>(gameObject); if (mTable == null) { updateTable = false; return; } } mTable.repositionNow = true; } }
override protected void OnUpdate(float factor, bool isFinished) { cachedTransform.localScale = from * (1f - factor) + to * factor; if (updateTable) { if (mTable == null) { mTable = NGUITools.FindInParents <NGUITable>(gameObject); if (mTable == null) { updateTable = false; return; } } mTable.repositionNow = true; } }