public override object GetSwitchParameters() { Dictionary <string, object> dictionary = new Dictionary <string, object>(); if (Tag != "Player") { throw new NotSupportedException("No server support to export a switch volume with the tag " + Tag + " in switch " + base.gameObject.GetPath()); } List <Dictionary <string, object> > colliderBounds = ExportUtils.GetColliderBounds(GetComponents <Collider>()); dictionary.Add("colliders", colliderBounds); return(dictionary); }