// Use this for initialization
	void Start () {
		texture = new Texture2D(1, 1);
		texture.SetPixel(1, 1, greenColor);
		
		texture2 = new Texture2D(1, 1);
		texture2.SetPixel(1, 1, Color.white);
		
		if (this.faction == Faction.Ally){
			dmgModAlly = this.GetComponent<dmg_in_mod_ally>();
		}
		if (this.faction == Faction.Enemy){
			dmgModEnemy = this.GetComponent<dmg_in_mod_robo>();
		}

		showHealth = true;

	}