Skip to main content

All Questions

7 votes
3 answers
747 views

Averaging quaternions

To compensate for shaky hands when holding a mobile device I'm averaging the rotation of the phone over the last n (in this case 16) frames, and setting the camera'...
Remy's user avatar
  • 289
7 votes
3 answers
1k views

Rock Paper Scissors coding challenge

I did a job application to a Unity developer position and i was given a coding challenge which was implementing a Rock Paper Scissors game or a variation of it. I have implemented the game using Unity ...
Ali Kanat's user avatar
  • 171
5 votes
0 answers
158 views

Prototype GameManager for game written in Unity

I am self taught, so I'm consistently seeking ways to code better, and more efficiently. If anyone has the time, please advise me on what can be done better with explanations as to why the old method ...
ProfessorOptics's user avatar
3 votes
1 answer
553 views

Perlin Noise terrain in Unity3D

I've recently had time to devise another program so this time I decided to write the Perlin Noise algorithm in code. I have succeeded and the code works but I can't help but feel that my practices ...
Simeon Laplev's user avatar
1 vote
1 answer
500 views

Creating custom control in Unity3D that has same UI but different behavior

I made some custom control named Range Control in Unity. It has two buttons a "plus" and a "minus" and an input field that shows the current value. The control has (for now) two implementations: None-...
yossi elimelech's user avatar
11 votes
1 answer
200 views

Multiple similar manager classes for handling scroll lists

I am working on my first object-oriented programming project, written in C# for Unity. My code does what I want it to do, but I am wondering if there is a better way to do it. I think I am building ...
Shepherd's user avatar
  • 111
6 votes
1 answer
4k views

Sliding puzzle game of fifteen

I've made the Game of Fifteen in Unity this is how it looks : The code is rather short there's one class for the pieces and one for the game logic : MovablePiece : MonoBehaviour ...
Denis's user avatar
  • 8,558