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 ..."
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..."
Performing a profiler in the queries sended to the database you can see that in some cases Dapper is sending the string arguments as NVARCHAR (4000). Introduction This happen because Dapper cannot infer what is the exactly type and length of the table column on database. The downside of the...Read "Dapper and the NVARCHAR(4000) ar..."
The short answer NO! The long answer The Azure Service Bus maximum message size is 256 KB for Standard tier and 1 MB for Premium tier (https://docs.microsoft.com/azure/service-bus-messaging/service-bus-quotas). A simple solution to overcome this limitation is split the messages in blocks lower or equal to 256 KB size. Below is a...Read "Can I send batch messages larger..."