isVisibleInCamera method
Method that checks if this component is visible on the screen
Implementation
@mustCallSuper
bool isVisibleInCamera() {
if (hasGameRef) {
return gameRef.isVisibleInCamera(this);
}
return false;
}
Method that checks if this component is visible on the screen
@mustCallSuper
bool isVisibleInCamera() {
if (hasGameRef) {
return gameRef.isVisibleInCamera(this);
}
return false;
}