private void Awake() { inventoryController = GetComponent <InventoryController>(); keyToItem = GetComponent <KeyToItem>(); launcher = GetComponent <Launcher>(); shatter = GetComponent <Shatter>(); }
private void Awake() { inventoryController = GetComponent <InventoryController>(); keyToItem = GetComponent <KeyToItem>(); launcher = GetComponent <Launcher>(); shatter = GetComponent <Shatter>(); spriteRenderer = GetComponent <SpriteRenderer>(); coll = GetComponent <Collider2D>(); }