Пример #1
0
		/** Works like a constructor, but can be used even for pooled objects. Returns \a this for easy chaining */
		public RichSpecial Initialize (NodeLink2 nodeLink, GraphNode first) {
			this.nodeLink = nodeLink;
			if (first == nodeLink.StartNode) {
				this.first = nodeLink.StartTransform;
				this.second = nodeLink.EndTransform;
				reverse = false;
			} else {
				this.first = nodeLink.EndTransform;
				this.second = nodeLink.StartTransform;
				reverse = true;
			}
			return this;
		}
Пример #2
0
		public override void OnEnterPool () {
			nodeLink = null;
		}