기술 자료

Unity Engine

Unity Engine

GetSerializedSubshader(int)

Obtains the serialized subshader at the given index.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public ShaderData.Subshader GetSerializedSubshader(int index)

Parameters

index

The index of the serialized subshader.

Returns

Type

Description

SubshaderThe associated serialized subshader or null if none exists.