Пример #1
0
 public void SelectNPC(IntegrationDeskNPC npc)
 {
     currentNPC = npc;
     Mode       = HUDMode.npc;
     // npcSprite.sprite = npc.NpcSprite;
     // npcSprite.color = Color.white;
     // npcBackground.color = Color.white;
 }
Пример #2
0
 public void DeselectNPC()
 {
     currentNPC          = null;
     Mode                = HUDMode.none;
     npcSprite.sprite    = null;
     npcSprite.color     = new Color(0, 0, 0, 0);
     npcBackground.color = new Color(0, 0, 0, 0);
 }
 public bool ShowObjectToNPC(IntegrationDeskNPC npc, string objectName)
 {
     behaviourTree.SendEvent("Show_Object_" + npc.NpcName, objectName);
     return(false);
 }