Confusing me

There’s this guy I like but he says the timing isn’t right and we can’t be together, so we’re just friends we met a couple months ago through mutual friends and we always hang out. Well anyways he stopped texting me for awhile and at my sisters engagement party he ignored me completely it hurt I won’t lie, he did ask me to dance at the very end of the party but none of us spoke a word. I figured he didn’t want to be friends and he didn’t like me anymore so I backed off but then he texted me yesterday and he’s acting like he did when we first met. I’m confused he acts like a friend, he acts like more than friends and then he treats me like a stranger... I don’t like these mixed signals and I don’t know what to do. I like talking to him but he seems indecisive and he doesn’t know what he wants. Do you think if I ignore him back he’ll try to win me back?