void Start() { eManager = gameObject.GetComponent<EnemyManager>(); eManager.InitStats(); eMove = gameObject.GetComponent<EnemyMovement>(); health = eManager.health; enemyBar = HudOn.fillTex(60, 10, new Color(1f, 0f, 0f, 1f)); }