Esempio n. 1
0
 public void Awake(Seeker s)
 {
     seeker = s;
     if (s != null)
     {
         s.RegisterModifier(this);
     }
 }
Esempio n. 2
0
 public void Awake(Seeker seeker)
 {
     this.seeker = seeker;
     if (seeker != null)
     {
         seeker.RegisterModifier(this);
     }
 }
Esempio n. 3
0
        /// <summary>Alerts the Seeker that this modifier exists</summary>
        protected virtual void OnEnable()
        {
            seeker = GetComponent <Seeker>();

            if (seeker != null)
            {
                seeker.RegisterModifier(this);
            }
        }
        /** Alerts the Seeker that this modifier exists */
        public void Awake()
        {
            seeker = GetComponent <Seeker>();

            if (seeker != null)
            {
                seeker.RegisterModifier(this);
            }
        }
Esempio n. 5
0
        /** Alerts the Seeker that this modifier exists */
        protected override void Awake()
        {
            base.Awake();
            seeker = GetComponent <Seeker>();

            if (seeker != null)
            {
                seeker.RegisterModifier(this);
            }
        }
Esempio n. 6
0
        /** Alerts the Seeker that this modifier exists */
        public void Awake()
        {
#if !PhotonImplementation
            seeker = GetComponent <Seeker>();
#endif

            if (seeker != null)
            {
                seeker.RegisterModifier(this);
            }
        }
        /** Alerts the Seeker that this modifier exists */
        public void Awake()
        {
            seeker = GetComponent <Seeker>();

            if (seeker != null)
            {
                seeker.RegisterModifier(this);
                //seeker.postProcessOriginalPath += new OnPathDelegate (ApplyOriginal);
                //seeker.postProcessPath += new OnPathDelegate (Apply);
                //seeker.getNextTarget += new GetNextTargetDelegate (GetNextTarget);
            }
        }