Skip to content
Snippets Groups Projects
Select Git revision
  • 379098f0e172c4aa9a373ac6e249b7e63a6aac52
  • master default
  • dependabot/nuget/source/Sample/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/MasterDevs.ChromeDevTools.Tests/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ProtocolGenerator/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ChromeDevTools/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ChromeDevTools/System.Net.Http-4.3.4
  • revert-29-revert-24-protocol_62
  • revert-24-protocol_62
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0.0.40915
13 results

HighlightConfig.cs

Blame
  • PythagorasScript.cs 654 B
    using System.Collections;
    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)) {
                this.items.Remove(name);
            }
            this.items.Add(name, obj);
        }
    
        public void doMagic() {
            Dictionary<string, Fact>.Enumerator enumerator = this.items.GetEnumerator();
            while (enumerator.MoveNext()){
                Debug.Log(enumerator.Current.Key + " is mapped to " + enumerator.Current.Value);
            }
        }
    }