기술 자료

Unity Engine

Unity Engine

Add(ShaderVariant)

Adds a new shader variant to the collection.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool Add(ShaderVariantCollection.ShaderVariant variant)

Parameters

Shader variant to add.

Returns

Type

Description

boolFalse if already in the collection.

Remarks