public void Awake(Seeker s) { seeker = s; if (s != null) { s.RegisterModifier(this); } }
public void Awake(Seeker seeker) { this.seeker = seeker; if (seeker != null) { seeker.RegisterModifier(this); } }
/// <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); } }
/** Alerts the Seeker that this modifier exists */ protected override void Awake() { base.Awake(); seeker = GetComponent <Seeker>(); if (seeker != null) { seeker.RegisterModifier(this); } }
/** 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); } }