void _doEvent() { foreach (botManager BM in BMS) { BM._refresh(); BM.GetComponentInParent <charWayPoints>()._setWayPointsEnd(); } //Debug.Log("event"); }