Question: is obito tobi the whole time?
Answer: They're not the same person but it may appear so because Tobi(swirly faced Zetzu) serves as obito's body, replacing his limbs that where crushed by the rock. Together they're called Tobi I guess because Tobi is always the one talking and since it is his body coating obito he can fight or he can let Obito fight.