-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* MinimapPlugin AsUniTaskResult, remove unnecessary state machine creation * nullables * HotUserMarkerObject internal initialize * fix points and avatar instantiation after clean-up
- Loading branch information
1 parent
b846bb4
commit 5446349
Showing
10 changed files
with
58 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-nullable:enable |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
Explorer/Assets/DCL/MapRenderer/MapLayers/UsersMarker/HotUserMarker.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 10 additions & 3 deletions
13
Explorer/Assets/DCL/MapRenderer/MapLayers/UsersMarker/HotUserMarkerObject.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
using UnityEngine; | ||
using System; | ||
using UnityEngine; | ||
|
||
namespace DCL.MapRenderer.MapLayers.Users | ||
namespace DCL.MapRenderer.MapLayers.UsersMarker | ||
{ | ||
public class HotUserMarkerObject : MapRendererMarkerBase | ||
{ | ||
[field: SerializeField] | ||
internal SpriteRenderer[] spriteRenderers { get; private set; } | ||
private SpriteRenderer[] spriteRenderers = Array.Empty<SpriteRenderer>(); | ||
|
||
public void UpdateSortOrder(int sortingOrder) | ||
{ | ||
for (var i = 0; i < spriteRenderers.Length; i++) | ||
spriteRenderers[i].sortingOrder = sortingOrder; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters