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