will work on other exd now
This commit is contained in:
parent
9375c177fa
commit
5b0a7cd508
5 changed files with 1330 additions and 15 deletions
|
@ -19,7 +19,7 @@ GameObject:
|
|||
- component: {fileID: 7799626650325075920}
|
||||
m_Layer: 0
|
||||
m_Name: Bottle_Reza
|
||||
m_TagString: Untagged
|
||||
m_TagString: InfoObject
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
|
|
|
@ -16,7 +16,7 @@ GameObject:
|
|||
- component: {fileID: 2662862770466917422}
|
||||
m_Layer: 0
|
||||
m_Name: Cigarette_Reza
|
||||
m_TagString: Untagged
|
||||
m_TagString: InfoObject
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -156,6 +156,10 @@ public class InfoCollector : MonoBehaviour
|
|||
// Returns predefined information
|
||||
return "I don't remember if daddy or I did this.";
|
||||
|
||||
if (obj.name == "ParentsDoor")
|
||||
// Returns predefined information
|
||||
return "My parents room. It's locked";
|
||||
|
||||
// Default information if there is no specific case
|
||||
return "There's nothing to look at.";
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ public class LeaveHouseTrigger : MonoBehaviour
|
|||
{
|
||||
confirmationPanel.SetActive(true);
|
||||
warningText.text = "Am I sure I want to leave the house? I might not have completed everything...";
|
||||
StartCoroutine(HideWarningPanelAfterDelay(10f)); // can change how long you want the text to show for
|
||||
StartCoroutine(HideWarningPanelAfterDelay(7f)); // can change how long you want the text to show for
|
||||
}
|
||||
IEnumerator HideWarningPanelAfterDelay(float delay)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue