Beispiel #1
0
        public BrainerLogics(iBrainCandidate owner)
        {
            this.owner = owner;

            mono = owner as MonoBehaviour;
            Debug.Assert(mono != null, "nop");

            tr = mono.transform;
        }
Beispiel #2
0
        private void Awake()
        {
            owner = GetComponentInParent <iBrainCandidate>();
            Debug.Assert(owner != null);

            brain = owner.getBrain();
            Debug.Assert(brain != null);

            buildCapacity();
        }