Skip to content
Snippets Groups Projects
PythagorasScript.cs 653 B
Newer Older
  • Learn to ignore specific revisions
  • using System.Collections.Generic;
    
    using UnityEngine;
    
    public class PythagorasScript : MonoBehaviour
    {
    
        private Dictionary<string, Fact> items = new Dictionary<string, Fact>();
    
        public void putFact(string name, Fact obj)
        {
            if (this.items.ContainsKey(name))
            {
    
            Dictionary<string, Fact>.Enumerator enumerator = this.items.GetEnumerator();
    
                Debug.Log(enumerator.Current.Key + " is mapped to " + enumerator.Current.Value);
            }
        }
    }