This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Brick Art Instructor does not collect any data. | |
Thus no data is shared or given to anyone. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
namespace UnityEngineExtensions | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
namespace UnityEngineExtensions | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using UnityEditor; | |
using UnityEngine; | |
using UnityEngine.SceneManagement; | |
public class SelectionExtensions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEngine.UI; | |
namespace NoXP | |
{ | |
[ExecuteAlways()] | |
[RequireComponent(typeof(GridLayoutGroup))] | |
public class AutoFitGridLayout : MonoBehaviour | |
{ | |
private RectTransform _rectTransform = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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; |
NewerOlder