Unity: Using an FSM to control your GameObjects

Unity: Using an FSM to control your GameObjects

Thanks to my good friend Maurizio, who’s been helping me removing the dust from my memory, today I’ll show you how to use a simple FSM to control your GameObjects 🙂 First, if you don’t know what an FSM is, please read this, and maybe this too. Done? Good. Now...

2 minute read
MVC: passing complex models in GET

MVC: passing complex models in GET

I started recently to work on a REST WebAPI project and soon realized I needed a way to pass complex parameters to my GET actions. For example, in some cases I have “searcher” classes that expose properties like pagination data, text fields, identificators and so on, something like this: [csharp]...

1 minute read
Download SQL Server Express and say “Thank you Scott”

Download SQL Server Express and say “Thank you Scott”

Thank you Scott. Really, this is going to be awkward, but somebody had to do something. Akamai NetSession? Come on Microsoft, you’re better than that! So, well, thanks Scott.  Here’s the link: http://www.hanselman.com/blog/DownloadSqlServerExpress.aspx      

1 minute read
C# :  dynamically get location of an assembly

C# : dynamically get location of an assembly

This time I’m posting just a simple tip (because my memory is sloppy, yeah): I was playing a little bit with T4 templates and dynamic assembly generation and I needed to reference a couple of assembly included in my project. Unfortunately the adding a reference to the ReferencedAssemblies collection on...

1 minute read