XNA Textbox loop
问题 So im trying to make a textbox ( well not exactly a textbox, just changing a spriteFont text ) on XNA 4.0 win game heres my code so far : usernameVar.Draw(spriteBatch, newInputText); That will draw newInputText string each frame newInputText = username.update(mouse); That will set the string but heres my problem class Textbox { public Texture2D texture; public Rectangle rectangle; public bool isClicked; public Textbox(Texture2D newTexture, Rectangle newRectangle) { texture = newTexture;