Table of Contents

Class DeclareDefineAttribute

Attach this to an assembly to declare a define.

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class DeclareDefineAttribute : DeclareDefineBaseAttribute
Inheritance
DeclareDefineAttribute
Inherited Members
Extension Methods

Remarks

This is the alternative to using "versionDefines" in manifest.json, since that don't work with UdonSharp compiler.

Constructors

DeclareDefineAttribute(string)

public DeclareDefineAttribute(string defineName)

Parameters

defineName string