In this paper, we study the existence of multiple solutions to a generalized p(•)-Laplace equation with two parameters involving critical growth. More precisely, we give sufficient "local" conditions, which mean that growths between the main operator and nonlinear term are locally assumed for the cases p(•)-sublinear, p(•)-superlinear, and sandwich-type. Compared to constant exponent problems (for examples, p-Laplacian and (p, q)-Laplacian), this characterizes the study of variable exponent problems. We show this by applying variants of the Mountain Pass Theorem for p(•)-sublinear and p(•)-superlinear cases and constructing critical values defined by a minimax argument in the genus theory for sandwich-type case. Moreover, we also obtain a nontrivial nonnegative solution for sandwich-type case changing a role of parameters. Our work is a generalization of several existing works in the literature.