2.4 (Current)
Discord
Itch
Patreon
Search
⌃
K
Links
⭐
Start Here
🧶
Yarn Spinner Components
Beginner's Guide
Welcome
➿
Syntax Basics
📖
Writing Narratives
🎮
Using a Game Engine
Writing Dialogue in Yarn
⌨
Editing with VS Code
✍
Writing in Yarn
🪄
Upgrading Yarn Scripts
Yarn Spinner for Unity
Overview
📦
Installation for Unity
⚡
Unity Quick Start
📥
Importing Yarn Files
🧱
Components
🤖
Commands and Functions
🗺
Localizations and Assets
💡
Frequently Asked Questions / "How Do I...?"
🎁
Unity Samples
Unity Tutorial Projects
🛠
Choose-Your-Path Game
🛠
Choose-Your-Path Game with Visuals
🛠
NPC Dialogue Game
Unity Add-Ons
⭐
About Add-Ons
Dialogue Wheel
Speech Bubbles
Advanced Guides
Building a Custom Dialogue Runner
Yarn Variables and Custom Variable Storage
About
Crediting Yarn Spinner
The Yarn Spinner Team
GitHub Repositories
Community Projects
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
Project
Range
Range()
Range(int,int,int,int)
Equals(object)
GetHashCode()
End
Start
StringInfo
Utility
Yarn.Compiler.Upgrader Namespace
Yarn.Unity Namespace
Yarn.Unity.UnityLocalization Namespace
Powered By
GitBook
Comment on page
Range
Class in
Yarn.Compiler
Inherits from
System.Object
Summary
Represents a range of text in a multi-line string.
public
class
Range
Constructors
Name
Description
Range()
Initializes a new instance of the
Range
class.
Range(int,int,int,int)
Initializes a new instance of the
Range
class, given start and end information.
Methods
Name
Description
Equals(object)
GetHashCode()
Properties
Name
Description
End
Gets or sets the end position of this range.
Start
Gets or sets the start position of this range.
Previous
Strings
Next
Range()
Last modified
2mo ago