public void OnCountryBorderStay(Border border, Agent agent) { if(agent == null){ Debug.Log (string.Format ("Agent {0} stays on {1} border!", null, border.GetCountry())); return; } Debug.Log (string.Format ("Agent {0} stays on {1} border!", agent, border.GetCountry())); }