Commit 208fd360 authored by radow's avatar radow

Tutorialisation

parent 5d955c22
This diff is collapsed.
......@@ -44,6 +44,8 @@ public class QuestManager : MonoBehaviour
public InventoryItem Prepquest;
public GameObject Prepcheckmark;
public Tutorial tut;
bool fixedlaptop;
bool laptopremoved;
......@@ -98,6 +100,7 @@ public class QuestManager : MonoBehaviour
{
sticker = true;
PlayerController.thePlayer.GetComponent<Sticker>().enabled = true;
tut.Stickermessage();
}
private void Fixlaptiop()
......
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class Tutorial : MonoBehaviour
{
public TextMeshProUGUI Tutorialmessage;
private void OnTriggerExit(Collider other)
{
Tutorialmessage.text = "";
}
public void Stickermessage()
{
Tutorialmessage.text = "Press R to place sticker";
Invoke("Endsticekrmessage", 10);
}
private void Endsticekrmessage()
{
Tutorialmessage.text = "";
}
}
fileFormatVersion: 2
guid: 9478b15e8693ff945972b9bd5e52272c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment