2.3 (Current)
Website
Discord
GitHub
Patreon
Search
⌃
K
Links
⭐
Start Here
Writing Your Dialogue
⌨
Editing with VS Code
✍
Writing in Yarn
🪄
Upgrading Yarn Scripts
Working With Unity
Overview
📦
Installation
⚡
Quick Start
📥
Importing Yarn Files
🧱
Components
🤖
Commands and Functions
🗺
Localizations and Assets
💡
Frequently Asked Questions / "How Do I...?"
Unity Sample Projects
🛠
Choose-Your-Path Game
🛠
Choose-Your-Path Game with Visuals
🛠
NPC Dialogue Game
Guides
Building a Custom Dialogue Runner
🗃
Yarn Variables and Custom Variable Storage
About
The Team
GitHub Repositories
Community Projects
How to credit Yarn Spinner
API Documentation
C#
Yarn Namespace
Yarn.Markup Namespace
Yarn.Compiler Namespace
BasicBlock
CompilationJob
CompilationResult
Compiler
DebugInfo
Declaration
DeclarationBuilder
WithDefaultValue(System.IConvertible)
WithDescription(string)
WithImplicit(bool)
WithName(string)
WithRange(Yarn.Compiler.Range)
WithSourceFileName(string)
WithSourceNodeName(string)
WithType(IType)
Declaration
DeferredTypeDiagnostic
Diagnostic
FileParseResult
FunctionTypeBuilder
IndentAwareLexer
InstructionCollectionExtensions
Position
Project
Range
StringInfo
Utility
Yarn.Compiler.Upgrader Namespace
Yarn.Unity Namespace
Yarn.Unity.UnityLocalization Namespace
Powered By
GitBook
WithName(string)
Method in
DeclarationBuilder
Summary
Sets the
Name
of the
Declaration
.
public
DeclarationBuilder
WithName
(
string
name
)
Parameters
Name
Description
string
name
The name to apply to the Declaration.
Returns
The
DeclarationBuilder
instance that received this method call.
Previous
WithImplicit(bool)
Next
WithRange(Yarn.Compiler.Range)
Last modified
21d ago