Inheritance: UnityEngine.MonoBehaviour
 // Use this for initialization
 void Start()
 {
     var sideKick = GameObject.FindGameObjectWithTag(Constants.Tags.SideKick);
     if (sideKick == null) return;
     _sidekick = sideKick.GetComponent<SidekickControls>();
     isb = GameObject.FindGameObjectWithTag(Constants.Tags.SpeechCanvas).GetComponent<InteractableSpeechBubble>();
     gameui = GameObject.FindGameObjectWithTag("GameUI");
     am = GameObject.FindGameObjectWithTag(Constants.Tags.AudioManager).GetComponent<AudioManager>();
     //dm = GameObject.FindGameObjectWithTag(Constants.Tags.DatabaseManager).GetComponent<DatabaseManager>();
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     _sidekickControls = GameObject.FindGameObjectWithTag(Constants.Tags.SideKick).GetComponent<SidekickControls>();
 }