1
This commit is contained in:
@@ -29,6 +29,8 @@ namespace BITKit.Entities
|
||||
{
|
||||
public const string C_Weapon = "c_weapon";
|
||||
|
||||
public string[] SearchKey { get; set; }
|
||||
|
||||
[Header(Constant.Header.Settings)]
|
||||
[SerializeField] protected AssetableItem item;
|
||||
|
||||
@@ -77,6 +79,13 @@ namespace BITKit.Entities
|
||||
[Inject] protected IEntityOverride _entityOverride;
|
||||
[Inject(true)] protected IEntityInventory _inventory;
|
||||
[Inject(true)] protected IUXPopup _uxPopup;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
SearchKey = new []{C_Weapon,item.Name};
|
||||
base.Initialize();
|
||||
}
|
||||
|
||||
public virtual void Entry()
|
||||
{
|
||||
if (animancerComponent)
|
||||
@@ -125,6 +134,8 @@ namespace BITKit.Entities
|
||||
|
||||
public virtual void OnAwake()
|
||||
{
|
||||
|
||||
|
||||
AnimationProperties= animationProperties.ToDictionary(x=>x.Key,x=>x.Value.Value);
|
||||
|
||||
foreach (var x in StateDictionary.Values)
|
||||
|
Reference in New Issue
Block a user