private void ActionEnd() { if (target != null) { if (target.GetComponent <InteractionObject>() != null) { InteractionObject interactionObject = target.GetComponent <InteractionObject>(); interactionObject.EndAction(); } } }
private void ActionEnd() { if (target != null) { if (target.GetComponent <InteractionObject>() != null) { InteractionObject interactionObject = target.GetComponent <InteractionObject>(); interactionObject.EndAction(); } } }