mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-17 05:18:27 +00:00
add comment
This commit is contained in:
parent
5169f5155e
commit
17128d22a4
1 changed files with 3 additions and 0 deletions
|
@ -162,6 +162,9 @@ namespace SanAndreasUnity.Behaviours
|
|||
for (int ii = 0; ii < texSize; ++ii)
|
||||
for (int jj = 0; jj < texSize; ++jj)
|
||||
mapTexture.SetPixel(x + ii, texSize - (y + jj) - 1, tex.GetPixel(ii, jj));
|
||||
|
||||
// unload the texture (don't destroy it, because it can be a dummy texture)
|
||||
|
||||
}
|
||||
|
||||
mapTexture.Apply(false, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue