From 7753b8ba0f41cdd9c32dbbb4b43c64d968eb0464 Mon Sep 17 00:00:00 2001 From: Poommetee Ketson Date: Fri, 29 Dec 2017 19:11:27 +0700 Subject: Minor docs fix --- doc/classes/@GDScript.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc/classes/@GDScript.xml') diff --git a/doc/classes/@GDScript.xml b/doc/classes/@GDScript.xml index bee2cdf38..cd05c8334 100644 --- a/doc/classes/@GDScript.xml +++ b/doc/classes/@GDScript.xml @@ -535,7 +535,7 @@ - Loads a resource from the filesystem located at 'path'. Note: resource paths can be obtained by right clicking on a resource in the Assets Panel and choosing "Copy Path". + Loads a resource from the filesystem located at [code]path[/code]. Note: resource paths can be obtained by right clicking on a resource in the Assets Panel and choosing "Copy Path". [codeblock] # load a scene called main located in the root of the project directory var main = load("res://main.tscn") @@ -866,9 +866,10 @@ - Returns sign of [code]s[/code] -1 or 1. + Returns the sign of [code]s[/code]: -1 or 1. Returns 0 if [code]s[/code] is 0. [codeblock] sign(-6) # returns -1 + sign(0) # returns 0 sign(6) # returns 1 [/codeblock] -- cgit v1.2.3-70-g09d2