User Tools

Site Tools


en:examples:objects:get_child_object_by_name

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:examples:objects:get_child_object_by_name [2018/05/12 09:49 (2 months ago)]
sausage created
en:examples:objects:get_child_object_by_name [2018/05/12 09:50 (2 months ago)] (current)
sausage
Line 6: Line 6:
  
 <​code=c>​ <​code=c>​
-orxOBJECT* ​GetChildObjectFromScene(orxOBJECT *parentObject,​ orxSTRING childName) {+orxOBJECT* ​GetChildObjectByName(orxOBJECT *parentObject,​ orxSTRING childName) {
  for (orxOBJECT *pstChild = orxObject_GetOwnedChild(parentObject);​  for (orxOBJECT *pstChild = orxObject_GetOwnedChild(parentObject);​
  pstChild;  pstChild;
en/examples/objects/get_child_object_by_name.1526118579.txt.gz ยท Last modified: 2018/05/12 09:49 (2 months ago) by sausage