Ported: Fix several typos in the classref - timothyqiu

fb62ec6c1d
This commit is contained in:
Relintai 2022-07-28 13:35:27 +02:00
parent 5a72ab5669
commit 4bd8abc32b
7 changed files with 7 additions and 7 deletions

View File

@ -9,7 +9,7 @@
[codeblock] [codeblock]
var array = [PoolByteArray()] var array = [PoolByteArray()]
array[0].push_back(123) array[0].push_back(123)
print(array) # [[]] (empty PoolByteArray within an empty Array) print(array) # [[]] (empty PoolByteArray within an Array)
[/codeblock] [/codeblock]
Instead, the entire [PoolByteArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed: Instead, the entire [PoolByteArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
[codeblock] [codeblock]

View File

@ -9,7 +9,7 @@
[codeblock] [codeblock]
var array = [PoolColorArray()] var array = [PoolColorArray()]
array[0].push_back(Color(0.1, 0.2, 0.3, 0.4)) array[0].push_back(Color(0.1, 0.2, 0.3, 0.4))
print(array) # [[]] (empty PoolColorArray within an empty Array) print(array) # [[]] (empty PoolColorArray within an Array)
[/codeblock] [/codeblock]
Instead, the entire [PoolColorArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed: Instead, the entire [PoolColorArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
[codeblock] [codeblock]

View File

@ -9,7 +9,7 @@
[codeblock] [codeblock]
var array = [PoolIntArray()] var array = [PoolIntArray()]
array[0].push_back(1234) array[0].push_back(1234)
print(array) # [[]] (empty PoolIntArray within an empty Array) print(array) # [[]] (empty PoolIntArray within an Array)
[/codeblock] [/codeblock]
Instead, the entire [PoolIntArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed: Instead, the entire [PoolIntArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
[codeblock] [codeblock]

View File

@ -9,7 +9,7 @@
[codeblock] [codeblock]
var array = [PoolRealArray()] var array = [PoolRealArray()]
array[0].push_back(12.34) array[0].push_back(12.34)
print(array) # [[]] (empty PoolRealArray within an empty Array) print(array) # [[]] (empty PoolRealArray within an Array)
[/codeblock] [/codeblock]
Instead, the entire [PoolRealArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed: Instead, the entire [PoolRealArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
[codeblock] [codeblock]

View File

@ -9,7 +9,7 @@
[codeblock] [codeblock]
var array = [PoolStringArray()] var array = [PoolStringArray()]
array[0].push_back("hello") array[0].push_back("hello")
print(array) # [[]] (empty PoolStringArray within an empty Array) print(array) # [[]] (empty PoolStringArray within an Array)
[/codeblock] [/codeblock]
Instead, the entire [PoolStringArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed: Instead, the entire [PoolStringArray] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
[codeblock] [codeblock]

View File

@ -9,7 +9,7 @@
[codeblock] [codeblock]
var array = [PoolVector2Array()] var array = [PoolVector2Array()]
array[0].push_back(Vector2(12, 34)) array[0].push_back(Vector2(12, 34))
print(array) # [[]] (empty PoolVector2Array within an empty Array) print(array) # [[]] (empty PoolVector2Array within an Array)
[/codeblock] [/codeblock]
Instead, the entire [PoolVector2Array] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed: Instead, the entire [PoolVector2Array] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
[codeblock] [codeblock]

View File

@ -9,7 +9,7 @@
[codeblock] [codeblock]
var array = [PoolVector3Array()] var array = [PoolVector3Array()]
array[0].push_back(Vector3(12, 34, 56)) array[0].push_back(Vector3(12, 34, 56))
print(array) # [[]] (empty PoolVector3Array within an empty Array) print(array) # [[]] (empty PoolVector3Array within an Array)
[/codeblock] [/codeblock]
Instead, the entire [PoolVector3Array] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed: Instead, the entire [PoolVector3Array] property must be [i]reassigned[/i] with [code]=[/code] for it to be changed:
[codeblock] [codeblock]