예제 #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;
 }
예제 #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;
 }
예제 #3
0
 private void OnPointEnterIdeaSlotHandler(BaseIdeaSlot baseIdeaSlot)
 {
     descriptionGameObject.SetActive(true);
     if (!baseIdeaSlot.IDEASLOT.Collected)
     {
         SetDescriptionUncollected(baseIdeaSlot);
     }
     else
     {
         SetDescriptinoCollected(baseIdeaSlot);
     }
 }
예제 #4
0
 private void OnPointExitIdeaSlotHandler(BaseIdeaSlot baseIdeaSlot)
 {
     descriptionGameObject.SetActive(false);
 }
예제 #5
0
 protected void OnPointEnterIdeaSlotEventHandler(BaseIdeaSlot baseIdeaSlot)
 {
     OnPointEnterIdeaSlotEvent?.Invoke(baseIdeaSlot);
 }