public void animaPlayEndScript(PlayEndFunc func) { playEndFunc = func; // int length = getAnimaLength(animaName); // addFrameScript(animaName,length, func); }
public void addFrameScript(string animaName, int frame, PlayEndFunc func) { int keyFrame = frame - 1; funcHash.Add (animaName + keyFrame, new ArrayList (){frame - 1, func}); }