public void GetSpecificInteractionType() { if (soundInteractionSource.GetComponent <PowerInteraction>() != null) { powerInteractionSource = soundInteractionSource.GetComponent <PowerInteraction>(); PowerInteractionType = true; } if (soundInteractionSource.GetComponent <StateInteraction>() != null) { stateInteractionSource = soundInteractionSource.GetComponent <StateInteraction>(); StateInteractionType = true; } }