Ejemplo n.º 1
0
        public override void Initialize(BehaviourProcessor behaviourProcessor)
        {
            base.Initialize(behaviourProcessor);

            actorMovement      = behaviourProcessor.GetComponent <ActorMovement>();
            targetingBehaviour = behaviourProcessor.GetComponent <TargetingBehaviour>();
            targetingDistance  = behaviourProcessor.GetComponent <TargetingDistance>();
        }
        public override void Initialize(BehaviourProcessor behaviourProcessor)
        {
            base.Initialize(behaviourProcessor);

            targetingBehaviour = behaviourProcessor.GetComponent <TargetingBehaviour>();
        }