void Update () { if (target = null) { currentTarget = findTargets(); target = currentTarget.transform; }