change EColor to class GameUnit to support gameproperty