internal PrototypeValues (IdScriptableObject obj, int maxId)
 {
     if (obj == null)
         throw new ArgumentNullException ("obj");
     if (maxId < 1)
         throw new ArgumentException ("maxId may not lower than 1");
     this.obj = obj;
     this.maxId = maxId;
 }
 internal PrototypeValues(IdScriptableObject obj, int maxId)
 {
     if (obj == null)
     {
         throw new ArgumentNullException("obj");
     }
     if (maxId < 1)
     {
         throw new ArgumentException("maxId may not lower than 1");
     }
     this.obj   = obj;
     this.maxId = maxId;
 }