Pathfinding.RelevantGraphSurface.OnEnable C# (CSharp) Method

OnEnable() private method

private OnEnable ( ) : void
return void
		void OnEnable () {
			UpdatePosition();
			if (root == null) {
				root = this;
			} else {
				this.next = root;
				root.prev = this;
				root = this;
			}
		}