Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.47 KB | None | 0 0
  1.             public static class HumanoidBodyHeights
  2.             {
  3.                 public static float head = .130f;
  4.                 public static float middleSpine = .34f;
  5.             }
  6.  
  7.             foreach (FieldInfo field in typeof(HumanoidBodyHeights).GetFields())
  8.             {
  9.                 bodyParts[playerId].head = GameObject.CreatePrimitive(PrimitiveType.Sphere);
  10.                 bodyParts[playerId].field.Name = GameObject.CreatePrimitive(PrimitiveType.Sphere); //<<<---- this
  11.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement