//---------------------------------------------------------------------------------------------- private void Start() { if (UnitData == null) { throw new Exception("Unit '" + gameObject.name + "' tried to Start() with no unit data."); } UnitRoster.RegisterUnit(this); Body = new UnitBody(); Body.Initialize(this); }