- Home /
Question by
SwagCoderElite · Jun 23, 2015 at 12:43 PM ·
maps
Map voting like COD?
I am having trouble even thinking of how to make a script that will randomly choose two of my scenes(maps) and display the image for it that is clickable to vote for it and whichever highest with votes will be loaded. Can somebody help me with this. thanks in advance!!
Comment
Answer by Hr-Orange · Mar 24, 2019 at 10:10 PM
I am currently struggeling with the same thing, since it is hard to syncronize different votes, but i have come to the conclusion that syncvar and hooks should make it possible. Check: "https://docs.unity3d.com/ScriptReference/Networking.SyncVarAttribute-hook.html". If you find an answer, then please reply the answer, since i too would like to know it ;).