This repository was archived by the owner on Dec 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-14
lines changed Expand file tree Collapse file tree 3 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,7 @@ MonoBehaviour:
224
224
- {fileID: 2800000, guid: 31c743e644772c44492a5100b330ae6d, type: 3}
225
225
- {fileID: 2800000, guid: d2086432f49773e4abf53fc65626554c, type: 3}
226
226
pressableButton : {fileID: 0}
227
+ defaultIconTexture : {fileID: 2800000, guid: a7c55f177c2da3c48ade207a599e9ddd, type: 3}
227
228
--- !u!114 &7152402777604146220
228
229
MonoBehaviour :
229
230
m_ObjectHideFlags : 0
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ protected override void OnAuthenticated()
67
67
#region Private Functions
68
68
private async void UpdateProfilesWorkerAsync ( )
69
69
{
70
+ Photo = null ;
70
71
byte [ ] data = null ;
71
72
string token = Token ;
72
73
if ( ! string . IsNullOrEmpty ( token ) )
Original file line number Diff line number Diff line change @@ -27,7 +27,9 @@ [SerializeField] [Tooltip("The texture image of the presence")]
27
27
private List < Texture2D > presences ;
28
28
[ SerializeField ] [ Tooltip ( "The pressable button of this user object" ) ]
29
29
private PressableButton pressableButton ;
30
-
30
+ [ SerializeField ] [ Tooltip ( "The default icon texture" ) ]
31
+ private Texture defaultIconTexture ;
32
+
31
33
/// <summary>
32
34
/// list of background color
33
35
/// </summary>
@@ -98,11 +100,6 @@ public PageType UserObjectPageType
98
100
/// </summary>
99
101
private PresenceAvailability presenceAvail ;
100
102
101
-
102
- /// <summary>
103
- /// default icon texture
104
- /// </summary>
105
- private Texture defaultIconTexture ;
106
103
107
104
/// <summary>
108
105
/// user presence
@@ -128,14 +125,6 @@ public PresenceAvailability Presence
128
125
/// </summary>
129
126
public static event Action < UserObject > OnSelectedParticipantCall ;
130
127
131
- /// <summary>
132
- /// Start
133
- /// </summary>
134
- void Start ( )
135
- {
136
- defaultIconTexture = profileIcon . texture ;
137
- }
138
-
139
128
/// <summary>
140
129
/// copy user object
141
130
/// </summary>
You can’t perform that action at this time.
0 commit comments