function saveClothing(saveKey,clothing){
            if(clothing!=null){
                localStorage.setItem(saveKey,clothing.texture.key);
            }
            else{
                localStorage.setItem(saveKey,"empty");
            }
        }
//Save the texture key of current clothing on local storage
Save the texture key of current clothing on local storage
Save the texture key of current clothing on local storage
function saveClothing(saveKey,clothing){
            if(clothing!=null){
                localStorage.setItem(saveKey,clothing.texture.key);
            }
            else{
                localStorage.setItem(saveKey,"empty");
            }
        }
function saveClothing ( saveKey , clothing ) { if ( clothing != null ) { localStorage . setItem ( saveKey , clothing . texture . key ) ; } else { localStorage . setItem ( saveKey , "empty" ) ; } }
Save the texture key of current clothing on local storage
Save the texture key of current clothing on local storage