Example #1
0
    public BehaviourDictionary CloneObject()
    {
        var obj = new BehaviourDictionary();

        foreach (var pair in this)
        {
            obj[pair.Key] = pair.Value;
        }

        return(obj);
    }
Example #2
0
 public ItemGenerator()
 {
     behaviourDictionary = new BehaviourDictionary();
 }