雜七雜八,程式碼、Unity、還有遊戲
$.urlParam = function(name){ var results = new RegExp('[\\?&]' + name + '=([^]*)').exec(window.location.href); if (!results) { return 0; } return results[1] || 0; }