Esempio n. 1
0
 protected override void ValidateValues()
 {
     if (_spawnSpot is null)
     {
         Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_spawnSpot), this.gameObject.name));
     }
 }
Esempio n. 2
0
 protected override void ValidateValues()
 {
     if (!_stomachSlotComponentList.Any())
     {
         Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_stomachSlotComponentList), this.gameObject.name));
     }
 }
Esempio n. 3
0
 protected override void ValidateValues()
 {
     if (_inputManager == null)
     {
         Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_inputManager), this.gameObject.name));
     }
 }
Esempio n. 4
0
 protected override void ValidateValues()
 {
     if (_uiManager == null)
     {
         Debug.LogError(ValidatorUtils.ValidateNullAtGameObject(nameof(_uiManager), this.gameObject.name));
     }
     _inventoryDraggableItemComponnent = GameObject.FindObjectOfType <InventoryDraggableItemComponent>();
 }
Esempio n. 5
0
 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));
     }
 }
Esempio n. 6
0
 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));
     }
 }
Esempio n. 7
0
 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));
     }
 }
Esempio n. 8
0
 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));
     }
 }
Esempio n. 9
0
 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));
     }
 }
Esempio n. 10
0
 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));
     }
 }
Esempio n. 11
0
 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));
     }
 }
Esempio n. 12
0
 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));
     }
 }
Esempio n. 13
0
 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));
     }
 }