文档

Unity Engine

Unity Engine

GetPropertyCount(Shader)

Get the number of properties in Shader s.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
警告
Deprecated. Use Shader.GetPropertyCount instead.
public static int GetPropertyCount(Shader s)

Parameters

The shader to check against.

Returns

Type

Description

int