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