private void Awake() { if (instance == null) { instance = this; } else if (instance != this) { Destroy(gameObject); } }
// Use this for initialization void Start() { tutorialLightSphereNum = 0; hasGotLight = false; hasblinked = false; hasSpiderHiss = false; lightSource = TutorialWeakenLight.instance; dt = GetComponent <DialogueTrigger>(); if (dt != null) { StartCoroutine(WaitAndStartConvo(1)); } }
// Use this for initialization void Start() { lightSource = TutorialWeakenLight.instance; }