fix
This commit is contained in:
parent
2177fd8334
commit
a83bdf455c
@ -344,11 +344,7 @@ namespace AlicizaX.UI
|
||||
/// </summary>
|
||||
protected virtual void OnHolderAttached()
|
||||
{
|
||||
interactionProxy = Holder.GetComponent<ItemInteractionProxy>();
|
||||
if (interactionProxy == null)
|
||||
{
|
||||
interactionProxy = Holder.gameObject.AddComponent<ItemInteractionProxy>();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -415,6 +411,11 @@ namespace AlicizaX.UI
|
||||
this.selectionHandler = selectionHandler;
|
||||
interactionBindingActive = false;
|
||||
cachedInteractionFlags = ItemInteractionFlags.None;
|
||||
interactionProxy = Holder.GetComponent<ItemInteractionProxy>();
|
||||
if (interactionProxy == null)
|
||||
{
|
||||
interactionProxy = Holder.gameObject.AddComponent<ItemInteractionProxy>();
|
||||
}
|
||||
OnHolderAttached();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user