コード例 #1
0
 void PropogateFrameChange(tk2dSpriteAnimationClip clip, int frameId, int frameCount, EditorCommitDelegate commitDelegate)
 {
     var frame = clip.frames[frameId];
     for (int j = frameId + 1; j < frameId + frameCount; ++j)
         commitDelegate(clip.frames[j], frame);
 }
コード例 #2
0
    void PropogateFrameChange(tk2dSpriteAnimationClip clip, int frameId, int frameCount, EditorCommitDelegate commitDelegate)
    {
        var frame = clip.frames[frameId];

        for (int j = frameId + 1; j < frameId + frameCount; ++j)
        {
            commitDelegate(clip.frames[j], frame);
        }
    }