This file contains hidden or 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; | |
using UnityEngine; | |
/// <summary> | |
/// Modify the way audio is imported into Unity | |
/// Throw this script in the Editor folder. | |
/// Place audio files in folders named with specific keywords listed below to automate how they are imported. | |
/// Check Unity reference for details and such | |
/// </summary> | |
public class CBAudioImport : AssetPostprocessor |
This file contains hidden or 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 System.Collections.Generic; | |
public static class PoolItExtension | |
{ | |
private static Transform pool; | |
private static Transform Pool { get { return (pool == null) ? pool = new GameObject(" Pool It!").transform : pool; } } | |
private static Dictionary<GameObject, List<GameObject>> container = new Dictionary<GameObject, List<GameObject>>(); |