Exemplo n.º 1
0
 private void SetDescriptionUncollected(BaseIdeaSlot baseIdeaSlot)
 {
     nameIdea.text        = baseIdeaSlot.IDEASLOT.IdeaName;
     typeIdea.text        = ConvertType.ConvertIdeaTypeToString(baseIdeaSlot.IDEASLOT.IdeaType);
     descriptionIdea.text = INST_DefaultDescription;
     imageIdea.sprite     = INST_Sprite;
 }
Exemplo n.º 2
0
 private void SetDescriptinoCollected(BaseIdeaSlot baseIdeaSlot)
 {
     nameIdea.text        = baseIdeaSlot.IDEASLOT.IdeaName;
     typeIdea.text        = ConvertType.ConvertIdeaTypeToString(baseIdeaSlot.IDEASLOT.IdeaType);
     descriptionIdea.text = baseIdeaSlot.IDEASLOT.Description;
     imageIdea.enabled    = true;
     imageIdea.sprite     = baseIdeaSlot.IDEASLOT.IdeaImage;
 }
Exemplo n.º 3
0
 private void OnPointEnterIdeaSlotHandler(BaseIdeaSlot baseIdeaSlot)
 {
     descriptionGameObject.SetActive(true);
     if (!baseIdeaSlot.IDEASLOT.Collected)
     {
         SetDescriptionUncollected(baseIdeaSlot);
     }
     else
     {
         SetDescriptinoCollected(baseIdeaSlot);
     }
 }
Exemplo n.º 4
0
 private void OnPointExitIdeaSlotHandler(BaseIdeaSlot baseIdeaSlot)
 {
     descriptionGameObject.SetActive(false);
 }
Exemplo n.º 5
0
 protected void OnPointEnterIdeaSlotEventHandler(BaseIdeaSlot baseIdeaSlot)
 {
     OnPointEnterIdeaSlotEvent?.Invoke(baseIdeaSlot);
 }