private void Awake() { uControls = new UniversalControls(); uControls.Enable(); uControls.Player.Interact.performed += ShowJournal; InteractibleTrigger.EnableJournal += EnableJournal; InteractibleTrigger.DisableJournal += DisableJournal; }
private void Awake() { uControls = new UniversalControls(); uControls.Enable(); //Add the events to player invenotry and craft inventory as these are static. Workbench inventory will be dynamic and thus is not set. AddEvents(inventory); AddEvents(craftInventory); }
void Awake() { uControls = new UniversalControls(); uControls.Enable(); active = false; colliding = false; image = GameObject.Find("PopupImage").GetComponent <Image>(); NoteText = GameObject.Find("NoteText"); NoteText.GetComponent <Text>().text = ""; transparent = image.sprite; }
private void Awake() { uControls = new UniversalControls(); uControls.Enable(); SpriteRenderer ImageTutorial = gameObject.GetComponent <SpriteRenderer>(); Color newColor = ImageTutorial.color; newColor.a = 0; // changing Alpha to zero ImageTutorial.color = newColor; }
private void Awake() { uControls = new UniversalControls(); uControls.Enable(); manager = FindObjectOfType <AudioManager>(); }
private void Awake() { uControls = new UniversalControls(); uControls.Enable(); }
private void Awake() { uControls = new UniversalControls(); uControls.Enable(); //uControls.Player.Light.performed += Light; }