private void InjectThisToStates() { var componentsThatNeedGM = StaticUtilities.FindInterfacesFromStatesSceneWide <IGM_ServiceLocator_Recievable>(); foreach (IGM_ServiceLocator_Recievable component in componentsThatNeedGM) { component.AssignGM(this); } }