public BrainerLogics(iBrainCandidate owner) { this.owner = owner; mono = owner as MonoBehaviour; Debug.Assert(mono != null, "nop"); tr = mono.transform; }
private void Awake() { owner = GetComponentInParent <iBrainCandidate>(); Debug.Assert(owner != null); brain = owner.getBrain(); Debug.Assert(brain != null); buildCapacity(); }