/// <summary> /// Unity Function. Called once upon creation of the object. /// </summary> void Awake() { ringleaderMovement = GetComponent <RingleaderMovement> (); enemyHealth = GetComponent <RingleaderHealth> (); ringleaderAnimatable = GetComponent <RingleaderAnimatable> (); ringleaderController = GetComponent <RingleaderController>(); }
public RingleaderHealth GetRingleaderHealth() { if (this.ringleaderHealth == null) { this.ringleaderHealth = GetComponent <RingleaderHealth>(); } return(this.ringleaderHealth); }