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
DeferredTypeDiagnostic
Diagnostic
FileParseResult
FunctionTypeBuilder
IndentAwareLexer
InstructionCollectionExtensions
Position
Equals(object)
GetHashCode()
Character
Line
Project
Range
StringInfo
Utility
Yarn.Compiler.Upgrader Namespace
Yarn.Unity Namespace
Yarn.Unity.UnityLocalization Namespace
Powered By
GitBook
Position
Class in
Yarn.Compiler
Inherits from
System.Object
Summary
Represents a position in a multi-line string.
public
class
Position
Methods
Name
Description
Equals(object)
GetHashCode()
Properties
Name
Description
Character
Gets or sets the zero-indexed character number of this position.
Line
Gets or sets the zero-indexed line of this position.
Previous
GetBasicBlocks(Node)
Next
Equals(object)
Last modified
23d ago