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

			if (seeker != null) {
				seeker.RegisterModifier (this);
			}
		}