isVisibleInCamera method

  1. @mustCallSuper
bool isVisibleInCamera()

Method that checks if this component is visible on the screen

Implementation

@mustCallSuper
bool isVisibleInCamera() {
  return hasGameRef ? gameRef.isVisibleInCamera(this) : false;
}