Commit graph

39 commits

Author SHA1 Message Date
in0finite
19b6c25432 correctly position the minimap 2020-05-31 19:09:56 +02:00
in0finite
3d81bd25ca use RawImage for minimap texture 2020-05-31 19:09:56 +02:00
in0finite
c661e13b88 remove unneeded variables 2020-05-31 19:09:56 +02:00
in0finite
9c0bcd747b refactor 2020-05-31 19:09:56 +02:00
in0finite
88cd91d0bd use auto property 2020-05-31 19:09:56 +02:00
in0finite
aec6481050 refactor 2020-05-31 19:09:56 +02:00
in0finite
91f9c55540 remove some unneeded variables 2020-05-31 19:09:56 +02:00
in0finite
1eb6dbadda remove 'toggleInfo' variable 2020-05-31 19:09:56 +02:00
in0finite
1cfe3b80b1 ReadInput() is slightly faster 2020-05-31 19:09:56 +02:00
in0finite
bdbec0bdeb remove OnGUI() function 2020-05-31 19:09:56 +02:00
in0finite
496333b26d remove commented code 2020-05-31 19:09:56 +02:00
in0finite
602f3beb4d refactor 2020-05-31 19:09:56 +02:00
in0finite
03c451d0a9 move input reading to LateUpdate() ; remove Update() because it's no longer needed ; 2020-05-31 19:09:56 +02:00
in0finite
eb7123be57 refactor 2020-05-31 19:09:56 +02:00
in0finite
525ca5a287 read input only when minimap is visible 2020-05-31 19:09:56 +02:00
in0finite
dc37e76e6b extract input reading into a method 2020-05-31 19:09:56 +02:00
in0finite
9d4ca5aae6 don't update stuff when minimap is not visible 2020-05-31 19:09:56 +02:00
in0finite
0668cf62f1 move zoom updating from FixedUpdate() to LateUpdate()
FixedUpdate() is now removed
2020-05-31 19:09:56 +02:00
in0finite
7a57f6b266 retrieve zone name on every 2 seconds 2020-05-31 19:09:56 +02:00
in0finite
d44757a739 ... 2020-05-31 19:09:56 +02:00
in0finite
df6bfa45ba minimap now has focus position 2020-05-31 19:09:56 +02:00
in0finite
72e090419a rename class 2020-05-31 19:09:56 +02:00
in0finite
b1f6c2b8fa convert zone name 2020-05-31 19:09:55 +02:00
in0finite
e415d019fc use RawImage for player icon 2020-05-31 19:09:55 +02:00
in0finite
5d4367fa3e zooming of minimap works 2020-05-31 19:09:55 +02:00
in0finite
d404419d5f minimap seems to be converted 2020-05-31 19:09:55 +02:00
in0finite
8ebbac83dc remove some unneeded code 2020-05-31 19:09:55 +02:00
in0finite
d59672aa34 don't read input on some places when not allowed 2020-05-31 19:09:54 +02:00
in0finite
1efa38ff84 map window draws enexes 2020-05-31 19:09:50 +02:00
in0finite
17128d22a4 add comment 2020-05-31 19:09:50 +02:00
in0finite
5169f5155e remove logs 2020-05-31 19:09:50 +02:00
in0finite
6a92422a2c remove unreachable code 2020-05-31 19:09:50 +02:00
in0finite
b87a273f77 don't keep the big minimap texture in memory 2020-05-31 19:09:50 +02:00
in0finite
ab07ff11a6 leave minimap textures in memory 2020-05-31 19:09:50 +02:00
in0finite
09daa45721 display vehicles on minimap 2020-05-31 19:09:46 +02:00
in0finite
e9f01099f0 minimap follows main camera if there is no local ped 2020-05-31 19:09:42 +02:00
in0finite
2c03d76d4d minimap properly follows ped 2020-05-31 19:09:42 +02:00
in0finite
5a4d82de13 Fix NRE in minimap when camera is null 2020-05-31 19:09:40 +02:00
in0finite
039ae76a14 Initial commit 2020-05-31 19:07:22 +02:00