Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IconAttribute(string)

Create an IconAttribute with a path to an icon.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public IconAttribute(string path)

Parameters

path

A project-relative path to a texture.