예제 #1
0
 public void RemoveDemon(DemonController demon)
 {
     if (_demons.Contains(demon) == true)
         _demons.Remove(demon);
 }
예제 #2
0
 public void SetHost(GameObject value)
 {
     host           = value;
     elementHandler = host.GetComponent <DemonElementHandler>();
     controller     = host.GetComponent <DemonController>();
 }
예제 #3
0
 public void AddDemon(DemonController demon)
 {
     if(_demons.Contains(demon) == false)
         _demons.Add(demon);
 }
예제 #4
0
파일: Demon.cs 프로젝트: luke-biel/SGJ2016
	public void Update() {
		if (isPossesed) {
			DemonController.drainGransLife(Time.deltaTime);
		}
	}