Skip to main content

All Questions

Filter by
Sorted by
Tagged with
5 votes
3 answers
2k views

C# Event Manager without allocations

I'm using my own Action-based Event Manager for a while and looking for ways to improve it. Mainly it's used in game development, where excessive garbage generation can lead to severe consequences. ...
Xamtos's user avatar
  • 370
5 votes
1 answer
838 views

Testing procedure with several nested yield statements in Unity3D

I made a small game that does the following: Displays a popup with the instructions of the game Turns on the GUI Start a list of trials for the player For each trial: It shows a symbol Waits for a ...
Oliver's user avatar
  • 51
2 votes
1 answer
117 views

Class to move a sprite in Unity

I first got introduced to coding with Ruby and now I am learning how to create games in C# with Unity. I am following a tutorial and I refactored the code to make it easier for me to grasp. I am ...
Shiyason's user avatar
  • 123
3 votes
2 answers
380 views

Obstacle-spawning and movement scripts

I have these scripts I made that work absolutely perfectly as I need them to. Is there any improvements that can be done to these scripts and make them more efficient for Mobile Platforms? Or even ...
Stephen George's user avatar
7 votes
1 answer
286 views

My game manager

This is my game manager script and is there anyway i can improve this code. ...
Kamal Kannan's user avatar