Example #1
0
 public void TestStart()
 {
     if (currFrame != null)
     {
         currFrame.ReleasePick();
         currFrame = null;
         DeleteAllLineMarker();
     }
     StartCoroutine(Progress(0, 1f / currInfo.fps));
 }
Example #2
0
    public int Pick(EnemyFrame f)
    {
        if (currFrame != null)
        {
            currFrame.ReleasePick();
        }
        if (currFrame == f)
        {
            currFrame = null;
            DeleteAllLineMarker();
            return(-1);
        }

        currFrame = f;
        currFrame.Pick();

        frameCode = int.Parse(currFrame.name);
        CreateLineMarker();
        DisablePatternInfo();

        return(frameCode);
    }