Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | VarionDrakon |
I apologize again for the stupid requests. But how is it:
if "Entity" in getslidecollision(i).collider.name:
Turn it into C# code?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | VarionDrakon |
I apologize again for the stupid requests. But how is it:
if "Entity" in getslidecollision(i).collider.name:
Turn it into C# code?
Reply From: | MajorBarnulf |
I don’t know the context in which you uses it, but I would say :
if ( ((Node)GetSlideCollision(i).Collider).Name.Contains("Entity") ) {
// stuff
};