Skip to content

Instantly share code, notes, and snippets.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CanPickupObjects : MonoBehaviour
{
public LayerMask clickableLayer;
public GameObject currentlyHolding;
public GameObject pickupDestination;
private BoxCollider thisCollider;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EventManager : MonoBehaviour
{
static public EventManager instance;
private Dictionary<string, Action> _eventDelegates;
private Dictionary<string, Action<dynamic>> _eventDelegatesWithArg;