protected override void ValidateValues() { if (_spawnSpot is null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_spawnSpot), this.gameObject.name)); } }
protected override void ValidateValues() { if (!_stomachSlotComponentList.Any()) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_stomachSlotComponentList), this.gameObject.name)); } }
protected override void ValidateValues() { if (_inputManager == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_inputManager), this.gameObject.name)); } }
protected override void ValidateValues() { if (_uiManager == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_uiManager), this.gameObject.name)); } _inventoryDraggableItemComponnent = GameObject.FindObjectOfType <InventoryDraggableItemComponent>(); }
protected override void ValidateValues() { if (_animator == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_animator), this.gameObject.name)); } if (_plantSpotComponent == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_plantSpotComponent), this.gameObject.name)); } }
protected override void ValidateValues() { if (_image == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_image), this.gameObject.name)); } if (_cdwDigestionBar == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_cdwDigestionBar), this.gameObject.name)); } }
protected override void ValidateValues() { if (_image == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_image), this.gameObject.name)); } if (_inventorySlotComponent == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_inventorySlotComponent), this.gameObject.name)); } }
protected override void ValidateValues() { // => Required Fields if (_playerState == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_playerState), this.gameObject.name)); } if (_inputManager == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_inputManager), this.gameObject.name)); } }
protected override void ValidateValues() { if (!_actionSlotComponentlist.Any()) { Debug.LogError("UIManager need to have at least one ActionSlot"); } if (_actionSlotComponentlist.Count() != 4) { Debug.LogError("This manager is prepared to have only 4 slots!"); } if (_inputManager == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_inputManager), this.gameObject.name)); } }
protected override void ValidateValues() { if (_currentImage == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_currentImage), this.gameObject.name)); } if (_draggableItem == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_draggableItem), this.gameObject.name)); } if (_txtAmount == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_txtAmount), this.gameObject.name)); } }
protected override void ValidateValues() { if (_canMoveByClick && _movementMouseComponent is null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_movementMouseComponent), this.gameObject.name)); } if (_canInteract && _interactableComponent is null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_interactableComponent), this.gameObject.name)); } if (_canPoop && _stomachComponent is null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_stomachComponent), this.gameObject.name)); } }
protected override void ValidateValues() { if (_inputManager == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_inputManager), this.gameObject.name)); } if (_playerState == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_playerState), this.gameObject.name)); } if (_animator == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_animator), this.gameObject.name)); } if (_txtItemName == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_txtItemName), this.gameObject.name)); } }
protected override void ValidateValues() { if (_animator == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_animator), this.gameObject.name)); } if (_inputManager == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_inputManager), this.gameObject.name)); } if (_playerState == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_playerState), this.gameObject.name)); } if (_plantComponent == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_plantComponent), this.gameObject.name)); } if (_internalCanvas == null) { Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_internalCanvas), this.gameObject.name)); } }