mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 20:55:44 +00:00
Wire Warden Unity profession assets (#7295)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Net.Eagle0.Eagle.Common;
|
||||
using Net.Eagle0.Shardok.Api;
|
||||
using UnityEngine;
|
||||
@@ -20,14 +19,14 @@ public class EagleCommonTextures : MonoBehaviour {
|
||||
|
||||
public Texture2D Profession(Profession profession) {
|
||||
if (profession == Net.Eagle0.Eagle.Common.Profession.NoProfession)
|
||||
return professionTextures.Last();
|
||||
return noProfessionTexture;
|
||||
if (profession == Net.Eagle0.Eagle.Common.Profession.UnknownProfession) return null;
|
||||
return professionTextures[(int)profession];
|
||||
}
|
||||
|
||||
public Texture2D Profession(HeroView.Types.ProfessionSpecificInfo.Types.Profession profession) {
|
||||
if (profession == HeroView.Types.ProfessionSpecificInfo.Types.Profession.NoProfession)
|
||||
return professionTextures.Last();
|
||||
return noProfessionTexture;
|
||||
if (profession == HeroView.Types.ProfessionSpecificInfo.Types.Profession.Unknown)
|
||||
return null;
|
||||
return professionTextures[(int)profession];
|
||||
|
||||
+3
@@ -9579,6 +9579,9 @@ MonoBehaviour:
|
||||
- m_Text: Champion
|
||||
m_Image: {fileID: 21300000, guid: 6ef78325c5250bc40bb7fff9e01a7dcc, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- m_Text: Warden
|
||||
m_Image: {fileID: 21300000, guid: 3d922670b3e95194ebb641a2b782a3af, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_OnValueChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
|
||||
@@ -25122,7 +25122,7 @@ MonoBehaviour:
|
||||
- {fileID: 2800000, guid: ce3bc31ab20668048b10a34c9d8f7c3b, type: 3}
|
||||
- {fileID: 2800000, guid: 1716fe5714417499ebe34ce5d04a7d62, type: 3}
|
||||
- {fileID: 2800000, guid: 6ef78325c5250bc40bb7fff9e01a7dcc, type: 3}
|
||||
- {fileID: 0}
|
||||
- {fileID: 2800000, guid: 3d922670b3e95194ebb641a2b782a3af, type: 3}
|
||||
training: {fileID: 2800000, guid: 7aa6f32d6fe6abf49a8834676f741077, type: 3}
|
||||
armament: {fileID: 2800000, guid: d50a26fbfe2083141b6fe482ded03424, type: 3}
|
||||
noProfessionTexture: {fileID: 2800000, guid: 433482c803356b34eaa5f427cb959b9b, type: 3}
|
||||
|
||||
Reference in New Issue
Block a user