// Use this for initialization void Start() { if (target != null) { target.SetMovementEnabled(false); } }