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