This is the typical "Law of the parties" charge in Texas. It does not require the State to prove intent on your part, only that you were subjectively aware of the intent of the main actor. For which you can be held criminally responsible for all criminal acts committed by the main culprit, with a few limitations. You really need to hire a good local lawyer because I have seen many people in your situation get convicted because of this, that were factually innocent.
Despite your lack of willful involvement you have been arrested and charged under the Law of Parties theory of criminal liability. You need an attorney in the N. Texas area that can present your defense, either pretrial or at a trial if necessary to ensure you don't end up with the same punishment as the person that actually committed the crime.