private void ChangePressedTextureButtonImage(string nodeName) { textureButton = GetNode <TextureButton>(nodeName); if (nodeName.Contains("#")) { textureButton.SetNormalTexture(ResourceLoader.Load <Texture>("res://Images/black_pressed.png")); } else { textureButton.SetNormalTexture(ResourceLoader.Load <Texture>("res://Images/white_pressed.png")); } }