LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

Sampler.name

public string name;

Description

Sampler name. (Read Only)

Data generated by the Sampler is labeled with this name in the Profiler window.

Note: If Sampler is invalid name returns null or empty string.