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 UnityEngine.UI; | |
using UnityEngine.Assertions; | |
using System.Linq; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class MeshTool | |
{ | |
public Mesh mesh; |
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 UnityEngine.UI; | |
using UnityEngine.Assertions; | |
using System.Linq; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class MeshTool | |
{ | |
public Mesh mesh; |
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
private static void Fill<T>(List<T> list, List<T> template, int copies) | |
{ | |
list.Clear(); | |
for (int i = 0; i < copies; ++i) | |
{ | |
list.AddRange(template); | |
} | |
} |
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; | |
public class InspectorAction : MonoBehaviour | |
{ | |
[System.Serializable] | |
public class Action : UnityEngine.Events.UnityEvent { }; | |
public Action onInvoked; | |
public void Invoke() |
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 UnityEngine.UI; | |
using UnityEngine.Assertions; | |
using System.Linq; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
public class Android |
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
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADZElEQVRYCZWXC27cMAxEnU0/6aL3P2rRJk1bPtpPO1a1C4SAI2lEckYU7SRP27Z9OZ7XGv/Uc63nRz2PLH2Yv9fzKwJean451j9rJC+m71PNwTcm3+uRHGxlSeg+GDaLfYTj+7Uexb58qgVKVVjTDfWtjkUZAQSKK+YjxFRIDsjJ0WsEZCLILF1N21SLKE93bPVAzHM95lGgvhIbI3lXHQFY3pmJ9p3bTxPfkLUg4vXlMOSec46q0wOKqOldM6HXgCMYlskTMyaxPWL/2eJSAKUc3Xl4roJNnMlWfuzPuLGOffp0cm5wnu4Rxp6+Volc8yuIzyAniPKnk0moxtw8YGkpNn1tVnPhx/6Mk+s6moFVWSbdkf0np0pTDCS8YiTXTicsEJ9VM7afPcCCRKxxVn1N+zsA/rceX0kE5KtXy1Np8xrYM58HdN1XkISqh2BuSD8gI5jMZSbdV7dX2lyzzymeHuB+VHzaNGONlBhRedduWznvGBxMwfoxzvkvfgMMtlkyyLKDcQ1aJjOePfGsTGLMx54CslwkSVJOzlpsBONYRi/M8TatxPhlnBUaX0EdvYo5gDUmEaLSPBUVpKcwcyaxGIfpXFaAAMgNlgicuUkkypLjoxE/Tldz49iXPLHudEQI6kRACmINKSdMX+fsYxnvXmL4nHDJV052PHveqcGIuWcpPPMaS9zA/RBlspVjYt4zSSg5a0lzz5zusR7EblIBu1wsnSDw9F6Ba0RZCXvHHjAXI1jmBCNHxyKAjhxAzbU8tRijZDTb53p4DTWIOBA+Ck1yMYWffh2bBCdJDEYMfz2nITxfRwRp5DBWDN9BfID9R2k6zuQIgdi7PeJOA/EpZP4lZc7kIUFXmCvQVo4rYhIRzJOn9ktJPnJxWq8jycFo/sYU0GoEa1wZCRGkzeSSgkOApSjW+PD7ZFwFAiBPha5TFIGSg5OABpQgr0CstocRg7BBfOxc5+8A |
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
iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAIS0lEQVR4Ae3b0XLbNhAF0KTT///iPNSY5iY7OxApypZkgsczKcnFEiQOtBBluT9++CFAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQI |
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 UnityEngine.UI; | |
using UnityEngine.Assertions; | |
using System; | |
using System.Linq; | |
using System.Collections; | |
using System.Collections.Generic; | |
using Random = UnityEngine.Random; |
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 System; | |
using System.Collections.Generic; | |
public class MessageHandler | |
{ | |
private Dictionary<Type, Action<object>> handlers | |
= new Dictionary<Type, Action<object>>(); | |
public void SetHandler<TMessage>(Action<TMessage> handler) | |
{ |
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 UnityEngine.UI; | |
using UnityEngine.Assertions; | |
using System; | |
using System.Linq; | |
using System.Collections; | |
using System.Collections.Generic; | |
public abstract class InstancePool<TConfig, TInstance> | |
where TInstance : IConfigView<TConfig> |