Exemplo n.º 1
0
 protected override void ExtendedStart()
 {
     conversations = GetComponent <NPCConversations>();
     persistence   = GetComponent <PersistentNPC>();
     // narsty hack to not display the prompt for multi-box NPC signs
     if (name.ToLower().Contains("sign"))
     {
         Instantiate(Resources.Load("NPCIcon"), transform.position, Quaternion.identity, this.transform);
     }
 }
Exemplo n.º 2
0
 protected override void ExtendedStart()
 {
     conversations = GetComponent <NPCConversations>();
     persistence   = GetComponent <PersistentNPC>();
     // narsty hack to not display the prompt for multi-box NPC signs
     if (generateMapIcon && !name.ToLower().Contains("sign"))
     {
         SpawnMapIcon();
     }
 }
Exemplo n.º 3
0
 protected override void ExtendedStart()
 {
     conversations = GetComponent <NPCConversations>();
     persistence   = GetComponent <PersistentNPC>();
 }