Skip to content

Instantly share code, notes, and snippets.

👋
Hi

Johannes Deml JohannesDeml

👋
Hi
Block or report user

Report or block JohannesDeml

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@JohannesDeml
JohannesDeml / README.md
Last active Feb 24, 2020 — forked from handcircus/unity.rb
Fastlane action to build Unity Project
View README.md

Usage

lane :build_unity do
  unity(
    execute_method: 'CommandLineBuild.BuildIos'
  )
end
@JohannesDeml
JohannesDeml / README.md
Created Feb 14, 2020
Remove Unity Mobile Notification Warning for WebGL builds
View README.md

Remove warning

Unity has a warning when running a webgl build on mobile (iOS, Android). In order to remove it, just add this file to an editor folder.

Logic

The script will run after the build has completed and replace the checks from all generated javascript files.

Support

  • Tested with Unity 2019.3, but should work with any version
  • Works with Name Files as Hashes, since it looks for all js files in the Build folder
  • Only runs when building for WebGL, so you can use it for a multiplatform project
@JohannesDeml
JohannesDeml / .gitattributes
Last active Aug 15, 2019 — forked from nemotoo/.gitattributes
.gitattributes for Unity3D with git-lfs
View .gitattributes
## https://gist.github.com/JohannesDeml/0d25d654f8bbced6fcf651281e555397/ ##
## Unity ##
*.cs diff=csharp text
*.cginc text
*.shader text
*.mat merge=unityyamlmerge eol=lf
*.anim merge=unityyamlmerge eol=lf
@JohannesDeml
JohannesDeml / Install.bat
Created Feb 23, 2019
Install apk and override previous version even if the new version number is smaller
View Install.bat
adb install -r -d <link to apk>
PAUSE
View keybase.md

Keybase proof

I hereby claim:

  • I am johannesdeml on github.
  • I am johannesdeml (https://keybase.io/johannesdeml) on keybase.
  • I have a public key ASDVKatOMHNSM90leOf-tulfdkAhpoDtVSAxGx_PtY7R5Ao

To claim this, I am signing this object:

@JohannesDeml
JohannesDeml / ShaderChunkNames.md
Last active Nov 28, 2019
PlayCanvas ShaderChunk names
View ShaderChunkNames.md
@JohannesDeml
JohannesDeml / TooltipDrawer.cs
Last active Feb 2, 2020
Unity Tooltip drawer for Material properties using reflection
View TooltipDrawer.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TooltipDrawer.cs" company="Supyrb">
// Copyright (c) 2018 Supyrb. All rights reserved.
// </copyright>
// <author>
// Johannes Deml
// send@johannesdeml.com
// </author>
// --------------------------------------------------------------------------------------------------------------------
@JohannesDeml
JohannesDeml / SceneViewFocusChangerWindow.cs
Last active Jan 20, 2020
Unity scene view focus changer
View SceneViewFocusChangerWindow.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SceneViewFocusChangerWindow.cs" company="Supyrb">
// Copyright (c) 2018 Supyrb. All rights reserved.
// </copyright>
// <author>
// Johannes Deml
// send@johannesdeml.com
// </author>
// --------------------------------------------------------------------------------------------------------------------
@JohannesDeml
JohannesDeml / CreateArtboardsForSelectedImages.jsx
Last active Apr 5, 2018
Adobe Illustator script: Creates an artboard for each selected image with the name of the imageFile and its size on the canvas
View CreateArtboardsForSelectedImages.jsx
// ----------------------------------------------------------------------------
// <copyright file="CreateArtboardsForSelectedImages.jsx" company="Supyrb">
// Copyright (c) 2018 Supyrb. All rights reserved.
// </copyright>
// <author>
// Johannes Deml
// send@johannesdeml.com
// </author>
// <summary>
// Creates an artboard for each selected image with the name of the imageFile and its size on the canvas.
@JohannesDeml
JohannesDeml / ApplySelectedPrefabs.cs
Created Mar 31, 2018
Apply prefabs for all selected objects and their children
View ApplySelectedPrefabs.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ApplySelectedPrefabs.cs" company="Supyrb">
// Copyright (c) 2017 Supyrb. All rights reserved.
// </copyright>
// <author>
// baptisteLar
// http://baptistelargaiolli.com/
// </author>
// <author>
// Johannes Deml
You can’t perform that action at this time.