lane :build_unity do
unity(
execute_method: 'CommandLineBuild.BuildIos'
)
end
:: Install all apk files in this folder | |
@Echo off | |
for %%a in (*.apk) do ( | |
echo installing "%%a" | |
adb install -r -d "%%a" | |
) | |
PAUSE |
import { a } from 'a'; | |
import { b } from 'a'; | |
import { c } from 'a'; | |
import { d } from 'a'; | |
import { e } from 'a'; | |
import { f } from 'a'; | |
import { g } from 'a'; | |
import { h } from 'a'; | |
import { i } from 'a'; |
List of all shaderChunks of the StandardMaterial of PlayCanvas, retrieved through pc.shaderChunks on 29.01.2019.
TBNPS
TBNderivativePS
TBNfastPS
alphaTestPS
# Secure HTACCESS wordpress config - https://gist.github.com/JohannesDeml/f714e47d6c6ea885f45f70bd34d927f8 | |
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] |
using BenchmarkDotNet.Analysers; | |
using BenchmarkDotNet.Columns; | |
using BenchmarkDotNet.Configs; | |
using BenchmarkDotNet.Diagnosers; | |
using BenchmarkDotNet.Engines; | |
using BenchmarkDotNet.Exporters; | |
using BenchmarkDotNet.Loggers; | |
using BenchmarkDotNet.Reports; | |
using BenchmarkDotNet.Running; | |
using BenchmarkDotNet.Validators; |
using UnityEngine; | |
using UnityEditor; | |
using UnityEditor.SceneManagement; | |
using UnityEngine.SceneManagement; | |
// From https://gist.github.com/JohannesDeml/5802473b569718c9c86de906b7039aec | |
// Original https://gist.github.com/ulrikdamm/338392c3b0900de225ec6dd10864cab4 | |
// Adds a "Edit Prefab" option in the Assets menu (or right clicking an asset in the project browser). | |
// This opens an empty scene with your prefab where you can edit it. | |
// Put this script in your project as Assets/Editor/EditPrefab.cs |
This includes the framework and loader. I took a look at the webassembly code with wasm2js , but it is not that interesting for finding hidden variables.
This gist is meant to help find variables and methods that can help you in development such as UTF8ToString
or TOTAL_MEMORY
.
Unity shows the following warning on mobile devices up to Unity 2019.4: "Please note that Unity WebGL is not currently supported on mobiles. Press OK if you wish to continue anyway." This script helps you remove this warning
To see live examples see Unity Web GL Loading Test
The script will run after the build has completed and replace the checks from all generated javascript files.
// Unity Project: https://github.com/JohannesDeml/UnityWebGL-LoadingTest with commit de7bdf9ac13edc7619f17ebe0713546a44c004f0 | |
// Decompiled with wasm2js (https://github.com/WebAssembly/binaryen) - If you use debug builds you get proper method names | |
import * as env from 'env'; | |
import * as wasi_snapshot_preview1 from 'wasi_snapshot_preview1'; | |
function Table(ret) { | |
// grow method not included; table is not growable | |
ret.set = function(i, func) { |