I hereby claim:
- I am tobiaspott on github.
- I am topo (https://keybase.io/topo) on keybase.
- I have a public key ASDLCRTkO7U0eWrjHTFT-qXxfK4RLHpf-IZXee7YorXJ6Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
using System; | |
using System.Collections; | |
using UnityEngine; | |
namespace NoXP | |
{ | |
/// <summary> | |
/// list of texture format encodings currently available in Unity3D (at runtime) | |
/// </summary> | |
public enum TextureEncodings |
using System.Collections; | |
#if NET_4_6 || NET_STANDARD_2_0 | |
using System.Threading.Tasks; | |
#endif | |
using UnityEngine; | |
public class Coroutiner : MonoBehaviour | |
{ |
using System.Collections.Generic; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
using UnityEditor.UI; | |
#endif | |
using UnityEngine; | |
using UnityEngine.EventSystems; | |
using UnityEngine.UI; | |
namespace VRTX.UI |
/* This wizard will replace a selection with an object or prefab. | |
* Scene objects will be cloned (destroying their prefab links). | |
* Original coding by 'yesfish', nabbed from Unity Forums | |
* 'keep parent' added by Dave A (also removed 'rotation' option, using localRotation | |
* 2020/03/04 (Tobias Pott): Updated code for use in Unity 2019.x and fixed problems with Undo/Redo insertion | |
*/ | |
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; |
echo off | |
if [%1]==[] ( | |
echo No path given as parameter | |
exit /b | |
) else ( | |
set basePath=%1 | |
set imPath="C:\Program Files\ImageMagick\7.0.10-Q16-HDRI\magick.exe" | |
) |
echo off | |
if [%1]==[] ( | |
echo No path given as parameter | |
exit /b | |
) else ( | |
set basePath=%1 | |
) | |
REM Optional second parameter to point to ImageMagick executable |
echo Setup Swap File (4GB) | |
swapon --show | |
fallocate -l 4G /swapfile | |
chmod 600 /swapfile | |
mkswap /swapfile | |
swapon /swapfile | |
echo /swapfile swap swap defaults 0 0 >> /etc/fstab | |
swapon --show |
using UnityEngine; | |
using UnityEngine.UI; | |
namespace NoXP | |
{ | |
[ExecuteAlways()] | |
[RequireComponent(typeof(GridLayoutGroup))] | |
public class AutoFitGridLayout : MonoBehaviour | |
{ | |
private RectTransform _rectTransform = null; |
<?xml version="1.0" encoding="utf-8" ?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>propcached</Title> | |
<Shortcut>propcached</Shortcut> | |
<Description>Code snippet for a cached property and backing field in Unity behaviour code</Description> | |
<Author>Tobias Pott</Author> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> |