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 System; | |
using System.Collections.Generic; | |
public enum PauseManagerState | |
{ | |
Pausing, | |
UnPausing, | |
Idle, | |
Paused |
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
#region [Copyright (c) 2015 Cristian Alexandru Geambasu] | |
// Distributed under the terms of an MIT-style license: | |
// | |
// The MIT License | |
// | |
// Copyright (c) 2015 Cristian Alexandru Geambasu | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software | |
// and associated documentation files (the "Software"), to deal in the Software without restriction, | |
// including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, |
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
#region [Copyright (c) 2015 Cristian Alexandru Geambasu] | |
// Distributed under the terms of an MIT-style license: | |
// | |
// The MIT License | |
// | |
// Copyright (c) 2015 Cristian Alexandru Geambasu | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software | |
// and associated documentation files (the "Software"), to deal in the Software without restriction, | |
// including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, |
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
#region [Copyright (c) 2015 Cristian Alexandru Geambasu] | |
// Distributed under the terms of an MIT-style license: | |
// | |
// The MIT License | |
// | |
// Copyright (c) 2015 Cristian Alexandru Geambasu | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software | |
// and associated documentation files (the "Software"), to deal in the Software without restriction, | |
// including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, |
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
#region [Copyright (c) 2015 Cristian Alexandru Geambasu] | |
// Distributed under the terms of an MIT-style license: | |
// | |
// The MIT License | |
// | |
// Copyright (c) 2015 Cristian Alexandru Geambasu | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software | |
// and associated documentation files (the "Software"), to deal in the Software without restriction, | |
// including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, |
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
#region [Copyright (c) 2015 Cristian Alexandru Geambasu] | |
// Distributed under the terms of an MIT-style license: | |
// | |
// The MIT License | |
// | |
// Copyright (c) 2015 Cristian Alexandru Geambasu | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software | |
// and associated documentation files (the "Software"), to deal in the Software without restriction, | |
// including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, |
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
// From Unity wiki: http://wiki.unity3d.com/index.php/Show_Built_In_Resources | |
using System; | |
using UnityEditor; | |
using UnityEngine; | |
using System.Collections.Generic; | |
public class BuiltInResourcesWindow : EditorWindow | |
{ | |
[MenuItem( "Window/Built-in styles and icons" )] |
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
#region [Copyright (c) 2015 Cristian Alexandru Geambasu] | |
// Distributed under the terms of an MIT-style license: | |
// | |
// The MIT License | |
// | |
// Copyright (c) 2015 Cristian Alexandru Geambasu | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software | |
// and associated documentation files (the "Software"), to deal in the Software without restriction, | |
// including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, |
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 EnumFlagAttribute : PropertyAttribute | |
{ | |
public string enumName; | |
public EnumFlagAttribute() {} | |
public EnumFlagAttribute(string name) | |
{ |
OlderNewer