Version: 2021.2

Texture.mipmapCount

切换到手册
public int mipmapCount ;

描述

How many mipmap levels are in this Texture (Read Only).

返回的值还包括基本级别,因此它始终大于等于 1。