public void RemoveDemon(DemonController demon) { if (_demons.Contains(demon) == true) _demons.Remove(demon); }
public void SetHost(GameObject value) { host = value; elementHandler = host.GetComponent <DemonElementHandler>(); controller = host.GetComponent <DemonController>(); }
public void AddDemon(DemonController demon) { if(_demons.Contains(demon) == false) _demons.Add(demon); }
public void Update() { if (isPossesed) { DemonController.drainGransLife(Time.deltaTime); } }