- Home /
Question by
kthom55 · Nov 14, 2014 at 06:38 PM ·
disappearing
Texture2D.Resize causes other GUI elements to disappear
For my in-game GUI, I use several [SerializeField] private Texture2Ds to be set as the background of various GUIStyles, which are applied to Labels in order to be shown when the game is run.
However, when I try to edit the Crosshairs texture through methods such as Texture2D.Resize or .GetPixels/.SetPixels, the GUI elements beyond the crosshair start vanishing, and I'm not sure why this would be happening.
Would someone please explain what is happening, and what can be done to fix this? Thanks.
Comment
Your answer
Follow this Question
Related Questions
Boids for 2D 0 Answers
GameObject disappearing when switching to Game View 2 Answers
Baked AO disappears where lights shine? (Need help) -1 Answers
Why are objects dissapearing on play 1 Answer