Пример #1
0
 /// <summary>
 /// sets the EndCapType used for rendering the line
 /// </summary>
 /// <returns>The end cap type.</returns>
 /// <param name="endCapType">End cap type.</param>
 public LineRenderer setEndCapType(EndCapType endCapType)
 {
     this.endCapType = endCapType;
     _areVertsDirty  = true;
     return(this);
 }
Пример #2
0
		/// <summary>
		/// sets the EndCapType used for rendering the line
		/// </summary>
		/// <returns>The end cap type.</returns>
		/// <param name="endCapType">End cap type.</param>
		public LineRenderer setEndCapType( EndCapType endCapType )
		{
			this.endCapType = endCapType;
			_areVertsDirty = true;
			return this;
		}