Pathfinding.GraphModifier.OnEnable C# (CSharp) Method

OnEnable() protected method

protected OnEnable ( ) : void
return void
		protected virtual void OnEnable () {
			OnDisable();

			if (root == null) {
				root = this;
			} else {
				this.next = root;
				root.prev = this;
				root = this;
			}
		}