For example
Code: Select all
size = allactorclasses.size();
for(int i = 0; i < size; i++)
{
if(allactorclasses[i] is "object_name")
{
console.printf("is works");
}
}
somewhere else
class object_name
{}
So is there are any other way to check inheritance of object like classes? Or I do something wrong?
What I need in this case, return all objects inherited from another base class object for some function, which contains some pointers to cvars which can not be returned to that functions in other ways.