Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static class HumanoidBodyHeights
- {
- public static float head = .130f;
- public static float middleSpine = .34f;
- }
- foreach (FieldInfo field in typeof(HumanoidBodyHeights).GetFields())
- {
- bodyParts[playerId].head = GameObject.CreatePrimitive(PrimitiveType.Sphere);
- bodyParts[playerId].field.Name = GameObject.CreatePrimitive(PrimitiveType.Sphere); //<<<---- this
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement