private void FigureOutDefaultBodyPart(Transform bone, ref BodyPart part) { if ((int)part == 0) { AuthorHull authorHull = base.creation as AuthorHull; if (authorHull) { authorHull.FigureOutDefaultBodyPart(ref bone, ref part, ref this.mirrored, ref this.mirroredBodyPart); Debug.Log(string.Format("[{0}:{1}][{2}:{3}]", new object[] { bone, (BodyPart)((int)part), this.mirrored, this.mirroredBodyPart }), this); } } }
private void FigureOutDefaultBodyPart(Transform bone, ref BodyPart part) { if (part == BodyPart.Undefined) { AuthorHull creation = base.creation as AuthorHull; if (creation != null) { creation.FigureOutDefaultBodyPart(ref bone, ref part, ref this.mirrored, ref this.mirroredBodyPart); object[] args = new object[] { bone, (BodyPart)part, this.mirrored, this.mirroredBodyPart }; Debug.Log(string.Format("[{0}:{1}][{2}:{3}]", args), this); } } }