public void AddBoid(Boids argBoid) { if (argBoid == null) { return; } if (!mBoids.Contains(argBoid)) { mBoids.Add(argBoid); } if (argBoid.GetTarget() != mFlockTarget.transform.position) { argBoid.SetTarget(mFlockTarget.transform.position); } }