Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Remove(ShaderVariant)

Removes shader variant from the collection.
Read time 1 minuteLast updated 4 days ago

Definition

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

Parameters

Shader variant to add.

Returns

Type

Description

boolFalse if was not in the collection.

Remarks