Example #1
0
		public void ActivatePrototypeMap(int maxPrototypeId)
		{
			IdScriptableObject.PrototypeValues values = new IdScriptableObject.PrototypeValues(this, maxPrototypeId);
			lock (this)
			{
				if (prototypeValues != null)
				{
					throw new InvalidOperationException();
				}
				prototypeValues = values;
			}
		}