|
@@ -170,7 +170,10 @@ guiNode.attachChild(helloText);
|
|
|
|
|
|
|
|
----
|
|
----
|
|
|
|
|
|
|
|
-*Tip:* Clear existing text in the guiNode by detaching all its children.
|
|
|
|
|
|
|
+[TIP]
|
|
|
|
|
+====
|
|
|
|
|
+Clear existing text in the guiNode by detaching all its children.
|
|
|
|
|
+====
|
|
|
|
|
|
|
|
|
|
|
|
|
=== Loading a Model
|
|
=== Loading a Model
|
|
@@ -384,7 +387,9 @@ The loadModel() method now searches this zip directly for the files to load. +
|
|
|
You should now see the Ninja+wall+teapot standing in a town.
|
|
You should now see the Ninja+wall+teapot standing in a town.
|
|
|
|
|
|
|
|
[TIP]
|
|
[TIP]
|
|
|
|
|
+====
|
|
|
If you register new locators, make sure you do not get any file name conflicts: Don't name all scenes `main.scene` but give each scene a unique name.
|
|
If you register new locators, make sure you do not get any file name conflicts: Don't name all scenes `main.scene` but give each scene a unique name.
|
|
|
|
|
+====
|
|
|
|
|
|
|
|
Earlier in this tutorial, you loaded scenes and models from the asset directory. This is the most common way you will be loading scenes and models. Here is the typical procedure:
|
|
Earlier in this tutorial, you loaded scenes and models from the asset directory. This is the most common way you will be loading scenes and models. Here is the typical procedure:
|
|
|
|
|
|