Game Development Reference
In-Depth Information
Changing Instance Actor Name
To create the slingshot, you used a single actor called ''Slingshot Component.''
In order to easily identify the instances, you will change the names of the
instances in the scene.
Open the Scene Editor and double-click the foot of the slingshot. This will open
the instance in the Actor Editor, as shown in Figure 6-15.
Figure 6-15. Foot of the slingshot in the Actor Editor
In the attributes of the instance, modify the name to ''Slingshot Component
Foot.''
Repeat the same operation for the right arm of the slingshot and name it
''Slingshot Component Right.'' Do it one more time for the left arm of the
slingshot and name it ''Slingshot Component Left.''
You performed this renaming operation because you will need to access some
of the attributes of these instances from the instance of elastic on the scene.
 
Search WWH ::




Custom Search