Skip to content
Snippets Groups Projects
SmartMenu.cs 315 B
Newer Older
  • Learn to ignore specific revisions
  • Richard Marcus's avatar
    Richard Marcus committed
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    
    public class SmartMenu : MonoBehaviour
    {
    
        public void DestroyObject()
        {
    
          
            CommunicationEvents.RemoveFactEvent.Invoke(CommunicationEvents.Facts[transform.parent.GetComponent<FactObject>().Id]);