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 UnityEditor; | |
using System.Collections.Generic; | |
using System.IO; | |
public class BatchExtractMaterials : EditorWindow | |
{ | |
private enum ExtractMode { Extract = 0, Remap = 1, Ignore = 2 }; | |
[System.Serializable] |
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 UnityEditor; | |
using System.Collections.Generic; | |
using System.IO; | |
public class BatchExtractMaterials : EditorWindow | |
{ | |
private enum ExtractMode { Extract = 0, Remap = 1, Ignore = 2 }; | |
[System.Serializable] |
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.AI; | |
namespace MegaCrush.NavmeshBaker.Sample | |
{ | |
/// <summary> | |
/// A very simple click to move player controller | |
/// </summary> | |
[RequireComponent(typeof(NavMeshAgent))] | |
public class ClickToMoveController : MonoBehaviour |
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 DunGen; | |
[RequireComponent(typeof(RuntimeDungeon))] | |
public class DoSomethingOnDungeonComplete : MonoBehaviour | |
{ | |
private RuntimeDungeon runtimeDungeon; | |
private void Awake() |
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 Opsive.UltimateCharacterController.Traits; | |
using UnityEngine; | |
namespace PixelWizards.GameSystem | |
{ | |
/// <summary> | |
/// Quick tutorial for anyone that's using Opsive UCC and want to integrate it with Blaze, it's super simple: | |
/// 1) setup your AI with Blaze | |
/// 2) Add a Rigidbody |
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 UnityEditor; | |
using UnityEditor.Build.Reporting; | |
using UnityEngine; | |
public class BuildSystem | |
{ | |
public enum BuildType | |
{ |
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 UnityEditor; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.IO; | |
using System.IO.Compression; | |
using Ionic.Zip; // this uses the Unity port of DotNetZip https://github.com/r2d2rigo/dotnetzip-for-unity |
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 UnityEditor; | |
namespace PixelWizards.Utilities | |
{ | |
public class UnparentGameObject | |
{ | |
[MenuItem("Edit/Unparent GameObject", false, 0)] | |
static void UnparentGO() | |
{ | |
var selection = Selection.activeTransform; |
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; | |
namespace PixelWizards.Utilities | |
{ | |
/// <summary> | |
/// Destroys this object if we're in play mode. | |
/// Useful for debug stuff that you don't want in the actual game | |
/// </summary> | |
public class DestroyOnPlay : MonoBehaviour | |
{ |
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; | |
public class DontDestroyOnLoad : MonoBehaviour | |
{ | |
// Start is called before the first frame update | |
void Start() | |
{ | |
DontDestroyOnLoad(this); | |
} | |
} |
NewerOlder