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 GooglePlayGames; | |
using GooglePlayGames.BasicApi; | |
using UnityEngine; | |
public class AchievementsController : MonoBehaviour | |
{ | |
void Start() | |
{ | |
var config = new PlayGamesClientConfiguration.Builder().Build(); | |
PlayGamesPlatform.InitializeInstance(config); |
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; | |
namespace Giacomelli.Framework | |
{ | |
public enum HelpBoxType | |
{ | |
/// <summary> | |
/// <para>Neutral message.</para> | |
/// </summary> |
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 Giacomelli.Framework | |
{ | |
/// <summary> | |
/// #unitytips: Sprites Collection - http://diegogiacomelli.com.br/unitytips-sprites-collection/ | |
/// </summary> | |
public static class SceneViewInput | |
{ | |
public static bool GetKeyDown(KeyCode key) |
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; | |
using UnityEngine; | |
// <summary> | |
/// Hierarchy Window Layer Info | |
/// http://diegogiacomelli.com.br/unitytips-hierarchy-window-layer-info/ | |
/// </summary> | |
[InitializeOnLoad] | |
public static class HierarchyWindowLayerInfo | |
{ |
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.IO; | |
using System.Runtime.CompilerServices; | |
using UnityEditor; | |
using UnityEngine; | |
using UnityEngine.Events; | |
/// <summary> | |
/// Hierarchy Window Group Header | |
/// http://diegogiacomelli.com.br/unitytips-changing-the-style-of-the-hierarchy-window-group-header/ |
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 UnityEngine.SceneManagement; | |
using System.Linq; | |
/// <summary> | |
/// Scene preview. | |
/// https://diegogiacomelli.com.br/unity3d-scenepreview-inspector/ | |
/// </summary> | |
[CustomEditor(typeof(SceneAsset))] |
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; | |
/// <summary> | |
/// Drawing a Maurer Rose With Unity - http://diegogiacomelli.com.br/drawing-a-maurer-rose-with-unity | |
/// </summary> | |
[RequireComponent(typeof(LineRenderer))] | |
public class MaurerRoseLineRenderer : MonoBehaviour | |
{ | |
const int PointsCount = 361; |
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 Giacomelli.Framework | |
{ | |
public class FrameworkSettings : ScriptableObject | |
{ | |
[SerializeField] | |
bool _entityLogEnabled; | |
[SerializeField] |