Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


role

The role the file plays in the build output.
Read time 1 minuteLast updated 10 days ago

Definition

public readonly string role { get; }

Remarks

Use this field to understand what purpose a file serves within the built player. Common roles for files are captured by the members of the CommonRoles class.