Singleton in Unity is worst than I thought


I don't know why yet, but the singleton pattern I used is not fit for calls in update.

I used to use it a lot, but I've never noticed this issue before, nor have I received feed back about it.

For the moment I just put the instance in a variable  which is initialized in the start function. It seems to work.

App development and game development are not so similar after all :D

Menka

Files

SnakeRemade.zip 19 MB
Jul 31, 2018

Get Snake remade

Leave a comment

Log in with itch.io to leave a comment.