/// <summary> /// Constructor /// </summary> /// <param name="settings"></param> /// <param name="camera"></param> public CursorHandler( Settings settings, CameraFacade camera) { _settings = settings; _camera = camera; }
/// <summary> /// Constructor /// </summary> /// <param name="settings"></param> /// <param name="cameraFacade"></param> /// <param name="playerRegistry"></param> public SelectingHandler( Settings settings, CameraFacade cameraFacade, PlayerRegistry playerRegistry) { _settings = settings; _cameraFacade = cameraFacade; _playerRegistry = playerRegistry; }
/// <summary> /// Constructor /// </summary> /// <param name="settings"></param> /// <param name="camera"></param> /// <param name="playerRegistry"></param> public ControllingHandler( Settings settings, CameraFacade camera, PlayerRegistry playerRegistry) { _settings = settings; _camera = camera; _playerRegistry = playerRegistry; }
void Awake() { player = GameObject.FindWithTag("Player").GetComponent <PlayerFacade>(); cam = GameObject.FindWithTag("MainCamera").GetComponent <CameraFacade>(); }
public CameraFollow(Settings settings, CameraFacade camBehaviour) { _settings = settings; _camBehaviour = camBehaviour; }