private void registerCameraRaycast() { CameraRaycast cameraRaycast = Camera.main.GetComponent <CameraRaycast>(); cameraRaycast.mouseOverCellObservers += changeCurrentCellColorEntered; cameraRaycast.mouseExitCellObservers += changeCurrentCellColorExited; }
private void registerCameraRaycast() { CameraRaycast cameraRaycast = Camera.main.GetComponent <CameraRaycast>(); cameraRaycast.mouseOverCellObservers += updateOnCellEntered; cameraRaycast.mouseExitCellObservers += updateOnCellExit; }