Yarn Spinner
2.2 (Current)
WebsiteDiscordGitHubPatreon
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
🗃
Yarn Variables and 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
GetLineInfo(int)
LineInfo
Declaration
DeclarationBuilder
DeferredTypeDiagnostic
Diagnostic
FileParseResult
FunctionTypeBuilder
IndentAwareLexer
InstructionCollectionExtensions
Position
Range
StringInfo
Utility
Yarn.Compiler.Upgrader Namespace
Yarn.Unity Namespace
Powered By GitBook

GetLineInfo(int)

Method in DebugInfo​

Summary

Gets a LineInfo object that describes the specified instruction at the index instructionNumber .
public LineInfo GetLineInfo(int instructionNumber)

Parameters

Name
Description
int instructionNumber
The index of the instruction to retrieve information for.

Returns

A LineInfo object that describes the position of the instruction.
Previous
DebugInfo
Next
LineInfo
Last modified 1yr ago
Export as PDF
Copy link
Edit on GitHub
On this page
Summary
Parameters
Returns