public void DoRePair(SimpleAI sAI) { TreeObject to = (TreeObject)sAI.mCharacter; sAI.mAIRT.transform.localScale = sAI.mAIRT.transform.localScale * (to.mStrongRate + 1.0f); }