void Awake() { entity = GetComponent <Entity>(); entity.AddUpdateAction(TickUpdate); powerMan = FindObjectOfType <PowerManager>(); powerMan.AddSource(this); }
void Awake() { entity = GetComponent <Entity>(); entity.AddUpdateAction(TickUpdate); powerMan = FindObjectOfType <PowerManager>(); powerMan.AddSource(this); }