This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
OlderNewer