public void EditResource(Resource resource)
		{
			mode = eResourceMode.Edit;
			this.resource = resource;
			feedback = "Editting resource: " + resource.name;
			serialized = new SerializedObject(resource);
		}
		public void CreateResource(Type type)
		{
			mode = eResourceMode.Create;
			resource = (Resource)ScriptableObject.CreateInstance(type);
			feedback = "Creating new resource; " + type.Name.ToString();
			serialized = new SerializedObject(resource);
		}