Introduction to 2D texture arrays
Create a 2D texture array in a script
Create a 2D texture arrayTo create a 2D texture array, import a flipbook texture. A flipbook texture contains multiple textures arranged in a grid.
Follow these steps:
Import the texture into your project.
In the Project window, select the texture. Unity displays the texture import settings in the InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary window.
In the Inspector window, set Texture Shape to 2D Array.
Set Columns and Rows to the appropriate values for your flipbook texture.
Select Apply.
Unity adds a texture array slice for each cell in the flipbook texture.
For more information, refer to Import a texture.
Introduction to 2D texture arrays
Create a 2D texture array in a script
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4