Aura.Channel.Scripting.Scripts.NpcScript.SetBody C# (CSharp) Метод

SetBody() защищенный Метод

Sets NPC's body proportions.
protected SetBody ( float height = 1, float weight = 1, float upper = 1, float lower = 1 ) : void
height float
weight float
upper float
lower float
Результат void
		protected void SetBody(float height = 1, float weight = 1, float upper = 1, float lower = 1)
		{
			if (this.NPC == null)
				throw new InvalidOperationException("NPC's race has to be set first.");

			this.NPC.Height = height;
			this.NPC.Weight = weight;
			this.NPC.Upper = upper;
			this.NPC.Lower = lower;
		}