Example #1
0
 public void Analyse()
 {
     if (currentProfile == null || currentProfile.name != CurrentName)
     {
         DetailedTextureProfile mtp = new DetailedTextureProfile(savePath, CurrentName, width, height, ShouldLoadSave);
         currentProfile = mtp;
     }
     ScanCurrentTexture();
 }
Example #2
0
    public void LoadSuccess(object obj)
    {
        DetailedTextureProfile dtp = (DetailedTextureProfile)obj;

        weights = dtp.weights;
        name    = dtp.name;
        width   = dtp.width;
        height  = dtp.height;
    }