예제 #1
0
        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;
        }
예제 #2
0
파일: Utilities.cs 프로젝트: AxSaber/KKABMX
 public static Dictionary <int, ShapeInfoBase.BoneInfo> GetDictDst(this ShapeInfoBase sibBody)
 {
     return((Dictionary <int, ShapeInfoBase.BoneInfo>)FieldShapeInfoBaseDictDst.GetValue(sibBody));
 }