You can create a simple logging component to record logs from any UnityEvent and configure them directly in the editor: Code You can easily import this gist directly into your Unity 3D project using the Gist ImporterRead "unitytips: Dynamic Log"
You can use EditorApplication.isPlaying in your custom editor to update the game view when a ScriptableObject is updated and you need to restart the scene or do something more complex to see the result of ScriptableObject changed during the game’s playing in the editor.Read "unitytips: Using Scriptabl..."
You can create a PropertyDrawer to display a help box on inspector showing the time information in seconds fields using TimeSpan format strings: Setup You can easily import this gist directly into your Unity 3D project using the Gist Importer UsageRead "unitytips: TimeSpan Box Dr..."
In this post I will list some tips and tricks that I learned while using the Google Play Games Plugin for Unity. Introduction The Unity3D has a code interface for questions regarding social features in games, these interfaces are called Social API. It provides a unified interface to different social...Read "Google Play Games Plugin for Uni..."
Recently I needed to automate the generation of a database script deploy from a SQL Server Database Project on our Azure Pipelines continuous integration. Below I will describe the steps to achieve such thing. Building the solution A SQL Server Database Project has a solution (.sln) as any other kind...Read "Azure Pipelines - Generating DB ..."
Ajay Tandon sent me a WinForms sample that he made using HarSharp. The HTTP Archive (HAR) format as defined in the W3C Specification is an archival format for HTTP transactions that can be used by a web browser to export detailed performance data about web pages it loads. HarSharp is...Read "WinForms sample for HarSharp"
The HTTP Archive (HAR) format as defined in the W3C Specification is an archival format for HTTP transactions that can be used by a web browser to export detailed performance data about web pages it loads. HarSharp is a small and easy-to-use library to parse HAR files to .NET objects...Read "HarSharp 2.0.0. - .NET Core"
In this post I will show the needed steps and samples to create dotnet new templates. Introduction Recently a friend asked me about the steps I follow to create dotnet new templates, while I was describing the steps to him I realized that information could be usefull to someone else...Read "Creating dotnet new templates wi..."
Since C# 6.0 you can use String interpolation to make code more readable: The sample lines will result in the same string The $ special character identifies a string literal as an interpolated string. String interpolation provides a more readable and convenient syntax to create formatted strings than a string...Read "unitytips: String interpol..."
When you have a single line method, you can use expression body definition do simplify and reduce the lines of code: Expression body definitions for methods and read-only properties are supported starting with C# 6. Expression body definitions for constructors, finalizers, property accessors, and indexers are supported starting with C#...Read "unitytips: Expression body..."