Ejemplo n.º 1
0
    void SetupInstance(int animationIndex, int startTime, byte remapFace)
    {
        currentAnimationIndex = animationIndex;
        EditDataSet tempEditSet = AppDataSet.Instance.ExtractEditSetForAnimation(animations[animationIndex]);

        dataSet         = tempEditSet.ToDataSet();
        currentInstance = dataSet.animations[0].CreateInstance(dataSet.animationBits);
        currentInstance.start(startTime, remapFace, false);
    }