public void Initialize() { this.sibSample = (ShapeInfoBase) new ShapeInfoSample(); int length = ShapeSampleDefine.shapename.Length; this.value = new float[length]; if (this.sibSample != null && Object.op_Inequality((Object)null, (Object)this.objSample)) { this.sibSample.InitShapeInfo(string.Empty, "sample.unity3d", "sample.unity3d", "anmShapeSample", "customSample", this.objSample.get_transform()); for (int no = 0; no < length; ++no) { this.SetValue(no, 0.5f); } this.sibSample.Update(); } this.InitEnd = true; }
public static Dictionary <int, ShapeInfoBase.BoneInfo> GetDictDst(this ShapeInfoBase sibBody) { return((Dictionary <int, ShapeInfoBase.BoneInfo>)FieldShapeInfoBaseDictDst.GetValue(sibBody)); }