public Soldier(int _myid, string _name, GameObject _frame, float _maxHealth, SOLDIER _type) { myID = _myid; core = GameCore.Core; frame = _frame; myName = _name; maxHealth = _maxHealth; type = _type; health = maxHealth; ApplySoldierType(); effectSystem = new SoldierEffectSystem(this); }