trying to make parameters for resources call work in Inspector