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

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