├── .gitignore
├── Assets
├── GILES.meta
├── GILES
│ ├── Code.meta
│ ├── Code
│ │ ├── Classes.meta
│ │ ├── Classes
│ │ │ ├── Extension.meta
│ │ │ ├── Extension
│ │ │ │ ├── pb_CollectionUtil.cs
│ │ │ │ ├── pb_CollectionUtil.cs.meta
│ │ │ │ ├── pb_ComponentExtension.cs
│ │ │ │ ├── pb_ComponentExtension.cs.meta
│ │ │ │ ├── pb_InputExtension.cs
│ │ │ │ ├── pb_InputExtension.cs.meta
│ │ │ │ ├── pb_ObjectUtility.cs
│ │ │ │ ├── pb_ObjectUtility.cs.meta
│ │ │ │ ├── pb_StringUtil.cs
│ │ │ │ ├── pb_StringUtil.cs.meta
│ │ │ │ ├── pb_TransformExtension.cs
│ │ │ │ └── pb_TransformExtension.cs.meta
│ │ │ ├── GUI.meta
│ │ │ ├── GUI
│ │ │ │ ├── Component Editors.meta
│ │ │ │ ├── Component Editors
│ │ │ │ │ ├── pb_CameraEditor.cs
│ │ │ │ │ ├── pb_CameraEditor.cs.meta
│ │ │ │ │ ├── pb_ComponentEditor.cs
│ │ │ │ │ ├── pb_ComponentEditor.cs.meta
│ │ │ │ │ ├── pb_MeshColliderEditor.cs
│ │ │ │ │ ├── pb_MeshColliderEditor.cs.meta
│ │ │ │ │ ├── pb_MeshRendererEditor.cs
│ │ │ │ │ ├── pb_MeshRendererEditor.cs.meta
│ │ │ │ │ ├── pb_TransformEditor.cs
│ │ │ │ │ └── pb_TransformEditor.cs.meta
│ │ │ │ ├── Type Inspectors.meta
│ │ │ │ ├── Type Inspectors
│ │ │ │ │ ├── pb_BoolInspector.cs
│ │ │ │ │ ├── pb_BoolInspector.cs.meta
│ │ │ │ │ ├── pb_ColorInspector.cs
│ │ │ │ │ ├── pb_ColorInspector.cs.meta
│ │ │ │ │ ├── pb_ComponentInspector.cs
│ │ │ │ │ ├── pb_ComponentInspector.cs.meta
│ │ │ │ │ ├── pb_EnumInspector.cs
│ │ │ │ │ ├── pb_EnumInspector.cs.meta
│ │ │ │ │ ├── pb_FloatInspector.cs
│ │ │ │ │ ├── pb_FloatInspector.cs.meta
│ │ │ │ │ ├── pb_GameObjectInspector.cs
│ │ │ │ │ ├── pb_GameObjectInspector.cs.meta
│ │ │ │ │ ├── pb_ICollectionInspector.cs
│ │ │ │ │ ├── pb_ICollectionInspector.cs.meta
│ │ │ │ │ ├── pb_IntInspector.cs
│ │ │ │ │ ├── pb_IntInspector.cs.meta
│ │ │ │ │ ├── pb_MaterialInspector.cs
│ │ │ │ │ ├── pb_MaterialInspector.cs.meta
│ │ │ │ │ ├── pb_ObjectInspector.cs
│ │ │ │ │ ├── pb_ObjectInspector.cs.meta
│ │ │ │ │ ├── pb_QuaternionInspector.cs
│ │ │ │ │ ├── pb_QuaternionInspector.cs.meta
│ │ │ │ │ ├── pb_StringInspector.cs
│ │ │ │ │ ├── pb_StringInspector.cs.meta
│ │ │ │ │ ├── pb_UnityObjectInspector.cs
│ │ │ │ │ ├── pb_UnityObjectInspector.cs.meta
│ │ │ │ │ ├── pb_Vector2Inspector.cs
│ │ │ │ │ ├── pb_Vector2Inspector.cs.meta
│ │ │ │ │ ├── pb_Vector3Inspector.cs
│ │ │ │ │ ├── pb_Vector3Inspector.cs.meta
│ │ │ │ │ ├── pb_Vector4Inspector.cs
│ │ │ │ │ └── pb_Vector4Inspector.cs.meta
│ │ │ │ ├── pb_ComponentEditorResolver.cs
│ │ │ │ ├── pb_ComponentEditorResolver.cs.meta
│ │ │ │ ├── pb_DraggableInputField.cs
│ │ │ │ ├── pb_DraggableInputField.cs.meta
│ │ │ │ ├── pb_EditorStyles.cs
│ │ │ │ ├── pb_EditorStyles.cs.meta
│ │ │ │ ├── pb_GUI.cs
│ │ │ │ ├── pb_GUI.cs.meta
│ │ │ │ ├── pb_GUIStyle.cs
│ │ │ │ ├── pb_GUIStyle.cs.meta
│ │ │ │ ├── pb_GUIUtility.cs
│ │ │ │ ├── pb_GUIUtility.cs.meta
│ │ │ │ ├── pb_GizmoAttribute.cs
│ │ │ │ ├── pb_GizmoAttribute.cs.meta
│ │ │ │ ├── pb_GridLayoutGroup.cs
│ │ │ │ ├── pb_GridLayoutGroup.cs.meta
│ │ │ │ ├── pb_ICustomEditor.cs
│ │ │ │ ├── pb_ICustomEditor.cs.meta
│ │ │ │ ├── pb_InspectorIgnoreAttribute.cs
│ │ │ │ ├── pb_InspectorIgnoreAttribute.cs.meta
│ │ │ │ ├── pb_InspectorLabelLayoutElement.cs
│ │ │ │ ├── pb_InspectorLabelLayoutElement.cs.meta
│ │ │ │ ├── pb_InspectorResolver.cs
│ │ │ │ ├── pb_InspectorResolver.cs.meta
│ │ │ │ ├── pb_TypeInspector.cs
│ │ │ │ ├── pb_TypeInspector.cs.meta
│ │ │ │ ├── pb_TypeInspectorAttribute.cs
│ │ │ │ └── pb_TypeInspectorAttribute.cs.meta
│ │ │ ├── Serialization.meta
│ │ │ ├── Serialization
│ │ │ │ ├── Built-in Component.meta
│ │ │ │ ├── Built-in Component
│ │ │ │ │ ├── pb_CameraComponent.cs
│ │ │ │ │ ├── pb_CameraComponent.cs.meta
│ │ │ │ │ ├── pb_MeshCollider.cs
│ │ │ │ │ ├── pb_MeshCollider.cs.meta
│ │ │ │ │ ├── pb_MeshFilter.cs
│ │ │ │ │ ├── pb_MeshFilter.cs.meta
│ │ │ │ │ ├── pb_MeshRenderer.cs
│ │ │ │ │ └── pb_MeshRenderer.cs.meta
│ │ │ │ ├── Converters.meta
│ │ │ │ ├── Converters
│ │ │ │ │ ├── pb_ColorConverter.cs
│ │ │ │ │ ├── pb_ColorConverter.cs.meta
│ │ │ │ │ ├── pb_ContractResolver.cs
│ │ │ │ │ ├── pb_ContractResolver.cs.meta
│ │ │ │ │ ├── pb_MaterialConverter.cs
│ │ │ │ │ ├── pb_MaterialConverter.cs.meta
│ │ │ │ │ ├── pb_MatrixConverter.cs
│ │ │ │ │ ├── pb_MatrixConverter.cs.meta
│ │ │ │ │ ├── pb_MeshConverter.cs
│ │ │ │ │ ├── pb_MeshConverter.cs.meta
│ │ │ │ │ ├── pb_ObjectContainer.cs
│ │ │ │ │ ├── pb_ObjectContainer.cs.meta
│ │ │ │ │ ├── pb_ObjectContainerConverter.cs
│ │ │ │ │ ├── pb_ObjectContainerConverter.cs.meta
│ │ │ │ │ ├── pb_UnityTypeConverter.cs
│ │ │ │ │ ├── pb_UnityTypeConverter.cs.meta
│ │ │ │ │ ├── pb_VectorConverter.cs
│ │ │ │ │ └── pb_VectorConverter.cs.meta
│ │ │ │ ├── Newtonsoft.Json.dll
│ │ │ │ ├── Newtonsoft.Json.dll.meta
│ │ │ │ ├── pb_ComponentDiff.cs
│ │ │ │ ├── pb_ComponentDiff.cs.meta
│ │ │ │ ├── pb_ISerializable.cs
│ │ │ │ ├── pb_ISerializable.cs.meta
│ │ │ │ ├── pb_ISerializableComponent.cs
│ │ │ │ ├── pb_ISerializableComponent.cs.meta
│ │ │ │ ├── pb_InspectorNameAttribute.cs
│ │ │ │ ├── pb_InspectorNameAttribute.cs.meta
│ │ │ │ ├── pb_JsonIgnoreAttribute.cs
│ │ │ │ ├── pb_JsonIgnoreAttribute.cs.meta
│ │ │ │ ├── pb_SceneNode.cs
│ │ │ │ ├── pb_SceneNode.cs.meta
│ │ │ │ ├── pb_SerializableObject.cs
│ │ │ │ ├── pb_SerializableObject.cs.meta
│ │ │ │ ├── pb_Serialization.cs
│ │ │ │ └── pb_Serialization.cs.meta
│ │ │ ├── Undo.meta
│ │ │ ├── Undo
│ │ │ │ ├── IUndo.cs
│ │ │ │ ├── IUndo.cs.meta
│ │ │ │ ├── Undo.cs
│ │ │ │ ├── Undo.cs.meta
│ │ │ │ ├── UndoDelete.cs
│ │ │ │ ├── UndoDelete.cs.meta
│ │ │ │ ├── UndoInstantiate.cs
│ │ │ │ ├── UndoInstantiate.cs.meta
│ │ │ │ ├── UndoReflection.cs
│ │ │ │ ├── UndoReflection.cs.meta
│ │ │ │ ├── UndoSelection.cs
│ │ │ │ ├── UndoSelection.cs.meta
│ │ │ │ ├── UndoTransform.cs
│ │ │ │ └── UndoTransform.cs.meta
│ │ │ ├── pb_AssetBundlePath.cs
│ │ │ ├── pb_AssetBundlePath.cs.meta
│ │ │ ├── pb_AssetBundles.cs
│ │ │ ├── pb_AssetBundles.cs.meta
│ │ │ ├── pb_AssetPreview.cs
│ │ │ ├── pb_AssetPreview.cs.meta
│ │ │ ├── pb_BuiltinResource.cs
│ │ │ ├── pb_BuiltinResource.cs.meta
│ │ │ ├── pb_Delegates.cs
│ │ │ ├── pb_Delegates.cs.meta
│ │ │ ├── pb_EditorComponentAttribute.cs
│ │ │ ├── pb_EditorComponentAttribute.cs.meta
│ │ │ ├── pb_Enum.cs
│ │ │ ├── pb_Enum.cs.meta
│ │ │ ├── pb_FileUtility.cs
│ │ │ ├── pb_FileUtility.cs.meta
│ │ │ ├── pb_Geometry.cs
│ │ │ ├── pb_Geometry.cs.meta
│ │ │ ├── pb_HandleMesh.cs
│ │ │ ├── pb_HandleMesh.cs.meta
│ │ │ ├── pb_HandleUtility.cs
│ │ │ ├── pb_HandleUtility.cs.meta
│ │ │ ├── pb_MetaData.cs
│ │ │ ├── pb_MetaData.cs.meta
│ │ │ ├── pb_MonoBehaviourSingleton.cs
│ │ │ ├── pb_MonoBehaviourSingleton.cs.meta
│ │ │ ├── pb_RaycastHit.cs
│ │ │ ├── pb_RaycastHit.cs.meta
│ │ │ ├── pb_ReflectedValue.cs
│ │ │ ├── pb_ReflectedValue.cs.meta
│ │ │ ├── pb_Reflection.cs
│ │ │ ├── pb_Reflection.cs.meta
│ │ │ ├── pb_ResourceManager.cs
│ │ │ ├── pb_ResourceManager.cs.meta
│ │ │ ├── pb_SceneEditor.cs
│ │ │ ├── pb_SceneEditor.cs.meta
│ │ │ ├── pb_ScriptableObjectSingleton.cs
│ │ │ ├── pb_ScriptableObjectSingleton.cs.meta
│ │ │ ├── pb_Selection.cs
│ │ │ ├── pb_Selection.cs.meta
│ │ │ ├── pb_Snap.cs
│ │ │ ├── pb_Snap.cs.meta
│ │ │ ├── pb_Transform.cs
│ │ │ └── pb_Transform.cs.meta
│ │ ├── Editor.meta
│ │ ├── Editor
│ │ │ ├── CreateAssetBundle.cs
│ │ │ ├── CreateAssetBundle.cs.meta
│ │ │ ├── CreateLevelEditorAsset.cs
│ │ │ ├── CreateLevelEditorAsset.cs.meta
│ │ │ ├── MarkResourceObjects.cs
│ │ │ ├── MarkResourceObjects.cs.meta
│ │ │ ├── pb_GUIStyleApplierEditor.cs
│ │ │ ├── pb_GUIStyleApplierEditor.cs.meta
│ │ │ ├── pb_GUIStyleEditor.cs
│ │ │ ├── pb_GUIStyleEditor.cs.meta
│ │ │ ├── pb_InspectorLabelLayoutElementEditor.cs
│ │ │ ├── pb_InspectorLabelLayoutElementEditor.cs.meta
│ │ │ ├── pb_LayoutElementTextEditor.cs
│ │ │ ├── pb_LayoutElementTextEditor.cs.meta
│ │ │ ├── pb_MetaDataEditor.cs
│ │ │ └── pb_MetaDataEditor.cs.meta
│ │ ├── Gameplay.meta
│ │ ├── Gameplay
│ │ │ ├── GILES_MonoBehaviour.cs
│ │ │ ├── GILES_PlaymodeAPI.cs
│ │ │ ├── StaticEditorStuff.cs
│ │ │ └── StaticEditorStuff.cs.meta
│ │ ├── Modes.meta
│ │ ├── Modes
│ │ │ ├── pb_ObjectEditor.cs
│ │ │ └── pb_ObjectEditor.cs.meta
│ │ ├── Scripts.meta
│ │ └── Scripts
│ │ │ ├── GUI.meta
│ │ │ ├── GUI
│ │ │ ├── Toolbar.meta
│ │ │ ├── Toolbar
│ │ │ │ ├── pb_DeleteButton.cs
│ │ │ │ ├── pb_DeleteButton.cs.meta
│ │ │ │ ├── pb_DuplicateButton.cs
│ │ │ │ ├── pb_DuplicateButton.cs.meta
│ │ │ │ ├── pb_FullInspectorButton.cs
│ │ │ │ ├── pb_FullInspectorButton.cs.meta
│ │ │ │ ├── pb_NewSceneButton.cs
│ │ │ │ ├── pb_NewSceneButton.cs.meta
│ │ │ │ ├── pb_OpenSceneButton.cs
│ │ │ │ ├── pb_OpenSceneButton.cs.meta
│ │ │ │ ├── pb_PositionToolButton.cs
│ │ │ │ ├── pb_PositionToolButton.cs.meta
│ │ │ │ ├── pb_RedoButton.cs
│ │ │ │ ├── pb_RedoButton.cs.meta
│ │ │ │ ├── pb_RotateToolButton.cs
│ │ │ │ ├── pb_RotateToolButton.cs.meta
│ │ │ │ ├── pb_SaveSceneButton.cs
│ │ │ │ ├── pb_SaveSceneButton.cs.meta
│ │ │ │ ├── pb_ScaleToolButton.cs
│ │ │ │ ├── pb_ScaleToolButton.cs.meta
│ │ │ │ ├── pb_SetSnapSize.cs
│ │ │ │ ├── pb_SetSnapSize.cs.meta
│ │ │ │ ├── pb_TestButton.cs
│ │ │ │ ├── pb_TestButton.cs.meta
│ │ │ │ ├── pb_ToolbarButton.cs
│ │ │ │ ├── pb_ToolbarButton.cs.meta
│ │ │ │ ├── pb_UndoButton.cs
│ │ │ │ └── pb_UndoButton.cs.meta
│ │ │ ├── pb_DirectoryMap.cs
│ │ │ ├── pb_DirectoryMap.cs.meta
│ │ │ ├── pb_DraggablePanel.cs
│ │ │ ├── pb_DraggablePanel.cs.meta
│ │ │ ├── pb_FileDialog.cs
│ │ │ ├── pb_FileDialog.cs.meta
│ │ │ ├── pb_GUIStyleApplier.cs
│ │ │ ├── pb_GUIStyleApplier.cs.meta
│ │ │ ├── pb_IOnResizeHandler.cs
│ │ │ ├── pb_IOnResizeHandler.cs.meta
│ │ │ ├── pb_Inspector.cs
│ │ │ ├── pb_Inspector.cs.meta
│ │ │ ├── pb_LayoutElementText.cs
│ │ │ ├── pb_LayoutElementText.cs.meta
│ │ │ ├── pb_LoadSceneButton.cs
│ │ │ ├── pb_LoadSceneButton.cs.meta
│ │ │ ├── pb_ModalWindow.cs
│ │ │ ├── pb_ModalWindow.cs.meta
│ │ │ ├── pb_PanelToggle.cs
│ │ │ ├── pb_PanelToggle.cs.meta
│ │ │ ├── pb_PrefabBrowser.cs
│ │ │ ├── pb_PrefabBrowser.cs.meta
│ │ │ ├── pb_PrefabBrowserItemButton.cs
│ │ │ ├── pb_PrefabBrowserItemButton.cs.meta
│ │ │ ├── pb_PrefabBrowserItemFolderIconButton.cs
│ │ │ ├── pb_PrefabBrowserItemFolderIconButton.cs.meta
│ │ │ ├── pb_PrefabBrowserItemGameObjectsButton.cs
│ │ │ ├── pb_PrefabBrowserItemGameObjectsButton.cs.meta
│ │ │ ├── pb_SaveDialogButton.cs
│ │ │ ├── pb_SaveDialogButton.cs.meta
│ │ │ ├── pb_Window.cs
│ │ │ ├── pb_Window.cs.meta
│ │ │ ├── pb_WindowManager.cs
│ │ │ ├── pb_WindowManager.cs.meta
│ │ │ ├── pb_WindowResizer.cs
│ │ │ └── pb_WindowResizer.cs.meta
│ │ │ ├── Gizmos.meta
│ │ │ ├── Gizmos
│ │ │ ├── pb_Gizmo.cs
│ │ │ ├── pb_Gizmo.cs.meta
│ │ │ ├── pb_GizmoManager.cs
│ │ │ ├── pb_GizmoManager.cs.meta
│ │ │ ├── pb_Gizmo_Camera.cs
│ │ │ ├── pb_Gizmo_Camera.cs.meta
│ │ │ ├── pb_Gizmo_Light.cs
│ │ │ └── pb_Gizmo_Light.cs.meta
│ │ │ ├── pb_Grid.cs
│ │ │ ├── pb_Grid.cs.meta
│ │ │ ├── pb_InputManager.cs
│ │ │ ├── pb_InputManager.cs.meta
│ │ │ ├── pb_LoadLevel.cs
│ │ │ ├── pb_LoadLevel.cs.meta
│ │ │ ├── pb_MetaDataComponent.cs
│ │ │ ├── pb_MetaDataComponent.cs.meta
│ │ │ ├── pb_Scene.cs
│ │ │ ├── pb_Scene.cs.meta
│ │ │ ├── pb_SceneCamera.cs
│ │ │ ├── pb_SceneCamera.cs.meta
│ │ │ ├── pb_SceneLoader.cs
│ │ │ ├── pb_SceneLoader.cs.meta
│ │ │ ├── pb_SelectionHandle.cs
│ │ │ ├── pb_SelectionHandle.cs.meta
│ │ │ ├── pb_SelectionHighlight.cs
│ │ │ └── pb_SelectionHighlight.cs.meta
│ ├── Edit Mode Assets.meta
│ ├── Edit Mode Assets
│ │ ├── Object Editor.asset
│ │ └── Object Editor.asset.meta
│ ├── Example.meta
│ ├── Example
│ │ ├── Scripts.meta
│ │ └── Scripts
│ │ │ ├── CameraControls.cs
│ │ │ └── CameraControls.cs.meta
│ ├── GUI.meta
│ ├── GUI
│ │ ├── Button Even Row.asset
│ │ ├── Button Even Row.asset.meta
│ │ ├── Button Odd Row.asset
│ │ ├── Button Odd Row.asset.meta
│ │ ├── Button.asset
│ │ ├── Button.asset.meta
│ │ ├── Icons.meta
│ │ ├── Icons
│ │ │ ├── Dropdown.png
│ │ │ ├── Dropdown.png.meta
│ │ │ ├── Icon_FlatWhite_AmmoBox.png
│ │ │ ├── Icon_FlatWhite_AmmoBox.png.meta
│ │ │ ├── Icon_FlatWhite_Arrow-Circled.png
│ │ │ ├── Icon_FlatWhite_Arrow-Circled.png.meta
│ │ │ ├── Icon_FlatWhite_Arrow-Simple.png
│ │ │ ├── Icon_FlatWhite_Arrow-Simple.png.meta
│ │ │ ├── Icon_FlatWhite_AudioItem.png
│ │ │ ├── Icon_FlatWhite_AudioItem.png.meta
│ │ │ ├── Icon_FlatWhite_Button.png
│ │ │ ├── Icon_FlatWhite_Button.png.meta
│ │ │ ├── Icon_FlatWhite_CheckBox-Checked.png
│ │ │ ├── Icon_FlatWhite_CheckBox-Checked.png.meta
│ │ │ ├── Icon_FlatWhite_CheckBox-Empty.png
│ │ │ ├── Icon_FlatWhite_CheckBox-Empty.png.meta
│ │ │ ├── Icon_FlatWhite_CheckMark.png
│ │ │ ├── Icon_FlatWhite_CheckMark.png.meta
│ │ │ ├── Icon_FlatWhite_Delete.png
│ │ │ ├── Icon_FlatWhite_Delete.png.meta
│ │ │ ├── Icon_FlatWhite_Duplicate.png
│ │ │ ├── Icon_FlatWhite_Duplicate.png.meta
│ │ │ ├── Icon_FlatWhite_Enemy.png
│ │ │ ├── Icon_FlatWhite_Enemy.png.meta
│ │ │ ├── Icon_FlatWhite_Exit.png
│ │ │ ├── Icon_FlatWhite_Exit.png.meta
│ │ │ ├── Icon_FlatWhite_Folder-Load.png
│ │ │ ├── Icon_FlatWhite_Folder-Load.png.meta
│ │ │ ├── Icon_FlatWhite_HealthPickup.png
│ │ │ ├── Icon_FlatWhite_HealthPickup.png.meta
│ │ │ ├── Icon_FlatWhite_Info.png
│ │ │ ├── Icon_FlatWhite_Info.png.meta
│ │ │ ├── Icon_FlatWhite_Key.png
│ │ │ ├── Icon_FlatWhite_Key.png.meta
│ │ │ ├── Icon_FlatWhite_LightBulb.png
│ │ │ ├── Icon_FlatWhite_LightBulb.png.meta
│ │ │ ├── Icon_FlatWhite_Link.png
│ │ │ ├── Icon_FlatWhite_Link.png.meta
│ │ │ ├── Icon_FlatWhite_Move.png
│ │ │ ├── Icon_FlatWhite_Move.png.meta
│ │ │ ├── Icon_FlatWhite_NewFile.png
│ │ │ ├── Icon_FlatWhite_NewFile.png.meta
│ │ │ ├── Icon_FlatWhite_ParticleSystem.png
│ │ │ ├── Icon_FlatWhite_ParticleSystem.png.meta
│ │ │ ├── Icon_FlatWhite_Pistol.png
│ │ │ ├── Icon_FlatWhite_Pistol.png.meta
│ │ │ ├── Icon_FlatWhite_PlayerSpawn.png
│ │ │ ├── Icon_FlatWhite_PlayerSpawn.png.meta
│ │ │ ├── Icon_FlatWhite_Redo.png
│ │ │ ├── Icon_FlatWhite_Redo.png.meta
│ │ │ ├── Icon_FlatWhite_Rotate.png
│ │ │ ├── Icon_FlatWhite_Rotate.png.meta
│ │ │ ├── Icon_FlatWhite_Save.png
│ │ │ ├── Icon_FlatWhite_Save.png.meta
│ │ │ ├── Icon_FlatWhite_Scale.png
│ │ │ ├── Icon_FlatWhite_Scale.png.meta
│ │ │ ├── Icon_FlatWhite_Search.png
│ │ │ ├── Icon_FlatWhite_Search.png.meta
│ │ │ ├── Icon_FlatWhite_Settings.png
│ │ │ ├── Icon_FlatWhite_Settings.png.meta
│ │ │ ├── Icon_FlatWhite_SunLight.png
│ │ │ ├── Icon_FlatWhite_SunLight.png.meta
│ │ │ ├── Icon_FlatWhite_Undo.png
│ │ │ ├── Icon_FlatWhite_Undo.png.meta
│ │ │ ├── Icon_FlatWhite_Up.png
│ │ │ └── Icon_FlatWhite_Up.png.meta
│ │ ├── Panel Opaque.asset
│ │ ├── Panel Opaque.asset.meta
│ │ ├── Panel.asset
│ │ ├── Panel.asset.meta
│ │ ├── Sprites.meta
│ │ ├── Sprites
│ │ │ ├── DropShadowOnly_RoundedUpperLeft_30pxRadius.png
│ │ │ ├── DropShadowOnly_RoundedUpperLeft_30pxRadius.png.meta
│ │ │ ├── DropShadowOnly_RoundedUpperLeft_38pxRadius.png
│ │ │ ├── DropShadowOnly_RoundedUpperLeft_38pxRadius.png.meta
│ │ │ ├── DropShadowOnly_Square.png
│ │ │ ├── DropShadowOnly_Square.png.meta
│ │ │ ├── Panel_FlatWhiteSquare.png
│ │ │ ├── Panel_FlatWhiteSquare.png.meta
│ │ │ ├── Panel_Flat_LeftDropCorner.png
│ │ │ ├── Panel_Flat_LeftDropCorner.png.meta
│ │ │ ├── Panel_Flat_RoundedLeft.png
│ │ │ ├── Panel_Flat_RoundedLeft.png.meta
│ │ │ ├── Panel_Flat_RoundedLeft_14pxRadius.png
│ │ │ ├── Panel_Flat_RoundedLeft_14pxRadius.png.meta
│ │ │ ├── Panel_Flat_RoundedLeft_18pxRadius.png
│ │ │ ├── Panel_Flat_RoundedLeft_18pxRadius.png.meta
│ │ │ ├── Panel_Flat_RoundedUpperLeft_22pxRadius.png
│ │ │ ├── Panel_Flat_RoundedUpperLeft_22pxRadius.png.meta
│ │ │ ├── Panel_Flat_RoundedupperLeft_28pxRadius.png
│ │ │ └── Panel_Flat_RoundedupperLeft_28pxRadius.png.meta
│ │ ├── Title Bar.asset
│ │ └── Title Bar.asset.meta
│ ├── Prefab.meta
│ ├── Prefab
│ │ ├── Generic File Browser.prefab
│ │ ├── Generic File Browser.prefab.meta
│ │ ├── Handle.prefab
│ │ ├── Handle.prefab.meta
│ │ ├── Inspector.prefab
│ │ ├── Inspector.prefab.meta
│ │ ├── Level Editor Base.prefab
│ │ ├── Level Editor Base.prefab.meta
│ │ ├── Level Editor Camera.prefab
│ │ ├── Level Editor Camera.prefab.meta
│ │ ├── Level Editor.prefab
│ │ ├── Level Editor.prefab.meta
│ │ ├── Load Dialog.prefab
│ │ ├── Load Dialog.prefab.meta
│ │ ├── Modal Window.prefab
│ │ ├── Modal Window.prefab.meta
│ │ ├── Panel Toggles.prefab
│ │ ├── Panel Toggles.prefab.meta
│ │ ├── Panel.prefab
│ │ ├── Panel.prefab.meta
│ │ ├── Prefab Browser.prefab
│ │ ├── Prefab Browser.prefab.meta
│ │ ├── Save Dialog Button.prefab
│ │ ├── Save Dialog Button.prefab.meta
│ │ ├── Save Dialog.prefab
│ │ ├── Save Dialog.prefab.meta
│ │ ├── Window.prefab
│ │ └── Window.prefab.meta
│ ├── Resources.meta
│ ├── Resources
│ │ ├── Required.meta
│ │ └── Required
│ │ │ ├── Font.meta
│ │ │ ├── Font
│ │ │ ├── archivo-black.meta
│ │ │ └── archivo-black
│ │ │ │ ├── ArchivoBlack.otf
│ │ │ │ ├── ArchivoBlack.otf.meta
│ │ │ │ ├── SIL Open Font License.txt
│ │ │ │ └── SIL Open Font License.txt.meta
│ │ │ ├── GUI.meta
│ │ │ ├── GUI
│ │ │ ├── Icons.meta
│ │ │ ├── Icons
│ │ │ │ ├── InsetWhite.png
│ │ │ │ ├── InsetWhite.png.meta
│ │ │ │ ├── Resize.png
│ │ │ │ ├── Resize.png.meta
│ │ │ │ ├── Resize_Corner-Rounded.png
│ │ │ │ ├── Resize_Corner-Rounded.png.meta
│ │ │ │ ├── Resize_TripleLines_Thin.png
│ │ │ │ ├── Resize_TripleLines_Thin.png.meta
│ │ │ │ ├── check.png
│ │ │ │ └── check.png.meta
│ │ │ ├── TypeInspector.meta
│ │ │ └── TypeInspector
│ │ │ │ ├── Array Field.prefab
│ │ │ │ ├── Array Field.prefab.meta
│ │ │ │ ├── Bool Field.prefab
│ │ │ │ ├── Bool Field.prefab.meta
│ │ │ │ ├── Color Field.prefab
│ │ │ │ ├── Color Field.prefab.meta
│ │ │ │ ├── Enum Field.prefab
│ │ │ │ ├── Enum Field.prefab.meta
│ │ │ │ ├── Float Field.prefab
│ │ │ │ ├── Float Field.prefab.meta
│ │ │ │ ├── Int Field.prefab
│ │ │ │ ├── Int Field.prefab.meta
│ │ │ │ ├── Material Field.prefab
│ │ │ │ ├── Material Field.prefab.meta
│ │ │ │ ├── Quaternion Field.prefab
│ │ │ │ ├── Quaternion Field.prefab.meta
│ │ │ │ ├── String Field.prefab
│ │ │ │ ├── String Field.prefab.meta
│ │ │ │ ├── UnityObject Field.prefab
│ │ │ │ ├── UnityObject Field.prefab.meta
│ │ │ │ ├── Vector2 Field.prefab
│ │ │ │ ├── Vector2 Field.prefab.meta
│ │ │ │ ├── Vector3 Field.prefab
│ │ │ │ ├── Vector3 Field.prefab.meta
│ │ │ │ ├── Vector4 Field.prefab
│ │ │ │ └── Vector4 Field.prefab.meta
│ │ │ ├── Gizmos.meta
│ │ │ ├── Gizmos
│ │ │ ├── AmmoPickup.mat
│ │ │ ├── AmmoPickup.mat.meta
│ │ │ ├── Camera.mat
│ │ │ ├── Camera.mat.meta
│ │ │ ├── EnemySpawn.mat
│ │ │ ├── EnemySpawn.mat.meta
│ │ │ ├── HealthPickup.mat
│ │ │ ├── HealthPickup.mat.meta
│ │ │ ├── Light.mat
│ │ │ ├── Light.mat.meta
│ │ │ ├── PlayerSpawn.mat
│ │ │ ├── PlayerSpawn.mat.meta
│ │ │ ├── Texture.meta
│ │ │ ├── Texture
│ │ │ │ ├── Icon_FlatWhite_AmmoBox.png
│ │ │ │ ├── Icon_FlatWhite_AmmoBox.png.meta
│ │ │ │ ├── Icon_FlatWhite_CheckBox-Checked.png
│ │ │ │ ├── Icon_FlatWhite_CheckBox-Checked.png.meta
│ │ │ │ ├── Icon_FlatWhite_CheckMark.png
│ │ │ │ ├── Icon_FlatWhite_CheckMark.png.meta
│ │ │ │ ├── Icon_FlatWhite_Delete.png
│ │ │ │ ├── Icon_FlatWhite_Delete.png.meta
│ │ │ │ ├── Icon_FlatWhite_EnemySpawn.png
│ │ │ │ ├── Icon_FlatWhite_EnemySpawn.png.meta
│ │ │ │ ├── Icon_FlatWhite_HealthPickup.png
│ │ │ │ ├── Icon_FlatWhite_HealthPickup.png.meta
│ │ │ │ ├── Icon_FlatWhite_LightBulb.png
│ │ │ │ ├── Icon_FlatWhite_LightBulb.png.meta
│ │ │ │ ├── Icon_FlatWhite_Pistol.png
│ │ │ │ ├── Icon_FlatWhite_Pistol.png.meta
│ │ │ │ ├── Icon_FlatWhite_PlayerSpawn.png
│ │ │ │ ├── Icon_FlatWhite_PlayerSpawn.png.meta
│ │ │ │ ├── Icon_FlatWhite_Redo.png
│ │ │ │ ├── Icon_FlatWhite_Redo.png.meta
│ │ │ │ ├── Icon_FlatWhite_Save.png
│ │ │ │ ├── Icon_FlatWhite_Save.png.meta
│ │ │ │ ├── Icon_FlatWhite_Settings.png
│ │ │ │ ├── Icon_FlatWhite_Settings.png.meta
│ │ │ │ ├── Icon_FlatWhite_SunLight.png
│ │ │ │ ├── Icon_FlatWhite_SunLight.png.meta
│ │ │ │ ├── Icon_FlatWhite_Undo.png
│ │ │ │ ├── Icon_FlatWhite_Undo.png.meta
│ │ │ │ ├── Light.png
│ │ │ │ └── Light.png.meta
│ │ │ ├── WeaponPickup.mat
│ │ │ └── WeaponPickup.mat.meta
│ │ │ ├── Handles.meta
│ │ │ ├── Handles
│ │ │ ├── Material.meta
│ │ │ ├── Material
│ │ │ │ ├── GridMaterial.mat
│ │ │ │ ├── GridMaterial.mat.meta
│ │ │ │ ├── HandleOpaqueMaterial.mat
│ │ │ │ ├── HandleOpaqueMaterial.mat.meta
│ │ │ │ ├── HandleRotateMaterial.mat
│ │ │ │ ├── HandleRotateMaterial.mat.meta
│ │ │ │ ├── HandleTransparentMaterial.mat
│ │ │ │ └── HandleTransparentMaterial.mat.meta
│ │ │ ├── Mesh.meta
│ │ │ └── Mesh
│ │ │ │ ├── ConeHardEdges.asset
│ │ │ │ ├── ConeHardEdges.asset.meta
│ │ │ │ ├── ConeSoftEdges.asset
│ │ │ │ ├── ConeSoftEdges.asset.meta
│ │ │ │ ├── Cube.asset
│ │ │ │ └── Cube.asset.meta
│ │ │ ├── Image.meta
│ │ │ ├── Image
│ │ │ ├── MinusArrow.png
│ │ │ ├── MinusArrow.png.meta
│ │ │ ├── MoveArrow.png
│ │ │ ├── MoveArrow.png.meta
│ │ │ ├── OrbitView.png
│ │ │ ├── OrbitView.png.meta
│ │ │ ├── PanView.png
│ │ │ ├── PanView.png.meta
│ │ │ ├── PlusArrow.png
│ │ │ ├── PlusArrow.png.meta
│ │ │ ├── SlideArrow.png
│ │ │ ├── SlideArrow.png.meta
│ │ │ ├── White Background.png
│ │ │ ├── White Background.png.meta
│ │ │ ├── White.png
│ │ │ ├── White.png.meta
│ │ │ ├── ZoomView.png
│ │ │ └── ZoomView.png.meta
│ │ │ ├── Material.meta
│ │ │ └── Material
│ │ │ ├── Blur.mat
│ │ │ ├── Blur.mat.meta
│ │ │ ├── Highlight.mat
│ │ │ ├── Highlight.mat.meta
│ │ │ ├── UnlitVertexColor.mat
│ │ │ ├── UnlitVertexColor.mat.meta
│ │ │ ├── UnlitVertexColorWavy.mat
│ │ │ ├── UnlitVertexColorWavy.mat.meta
│ │ │ ├── Wireframe.mat
│ │ │ └── Wireframe.mat.meta
│ ├── Scenes.meta
│ ├── Scenes
│ │ ├── Empty Scene.unity
│ │ ├── Empty Scene.unity.meta
│ │ ├── Level Editor.unity
│ │ ├── Level Editor.unity.meta
│ │ ├── Main Menu.unity
│ │ ├── Main Menu.unity.meta
│ │ ├── Scripts.meta
│ │ └── Scripts
│ │ │ ├── LoadAndPlayScene.cs
│ │ │ └── LoadAndPlayScene.cs.meta
│ ├── Settings.meta
│ ├── Settings
│ │ ├── pb_Config.cs
│ │ └── pb_Config.cs.meta
│ ├── Shader.meta
│ ├── Shader
│ │ ├── Blur.shader
│ │ ├── Blur.shader.meta
│ │ ├── Grid Line.shader
│ │ ├── Grid Line.shader.meta
│ │ ├── HandleLine.shader
│ │ ├── HandleLine.shader.meta
│ │ ├── HandleSolid.shader
│ │ ├── HandleSolid.shader.meta
│ │ ├── Highlight.shader
│ │ ├── Highlight.shader.meta
│ │ ├── LineCulledOffset.shader
│ │ ├── LineCulledOffset.shader.meta
│ │ ├── LineNormalCulling.shader
│ │ ├── LineNormalCulling.shader.meta
│ │ ├── UnlitCameraFacing.shader
│ │ ├── UnlitCameraFacing.shader.meta
│ │ ├── UnlitColor.shader
│ │ ├── UnlitColor.shader.meta
│ │ ├── UnlitVertexColor.shader
│ │ ├── UnlitVertexColor.shader.meta
│ │ ├── UnlitVertexColorWavy.shader
│ │ ├── UnlitVertexColorWavy.shader.meta
│ │ ├── Wireframe.shader
│ │ └── Wireframe.shader.meta
│ ├── ThirdPartyLicenses.txt
│ └── ThirdPartyLicenses.txt.meta
├── Resources.meta
├── Resources
│ ├── Level Editor Prefabs.meta
│ └── Level Editor Prefabs
│ │ ├── Camera.prefab
│ │ ├── Camera.prefab.meta
│ │ ├── Column.asset
│ │ ├── Column.asset.meta
│ │ ├── Column.prefab
│ │ ├── Column.prefab.meta
│ │ ├── Cube.asset
│ │ ├── Cube.asset.meta
│ │ ├── Cube.prefab
│ │ ├── Cube.prefab.meta
│ │ ├── Flat.asset
│ │ ├── Flat.asset.meta
│ │ ├── Flat.prefab
│ │ ├── Flat.prefab.meta
│ │ ├── Hole.asset
│ │ ├── Hole.asset.meta
│ │ ├── Hole.prefab
│ │ ├── Hole.prefab.meta
│ │ ├── L Shape.asset
│ │ ├── L Shape.asset.meta
│ │ ├── L Shape.prefab
│ │ ├── L Shape.prefab.meta
│ │ ├── objects.meta
│ │ └── objects
│ │ ├── Sphere.prefab
│ │ └── Sphere.prefab.meta
├── Tests.meta
└── Tests
│ ├── Editor.meta
│ ├── Editor
│ ├── Classes.meta
│ └── Classes
│ │ ├── TestFileUtility.cs
│ │ └── TestFileUtility.cs.meta
│ ├── LevelLoadingEscape.cs
│ └── LevelLoadingEscape.cs.meta
├── LICENSE
├── Logs
└── Packages-Update.log
├── Packages
└── manifest.json
├── ProjectSettings
├── AudioManager.asset
├── ClusterInputManager.asset
├── DynamicsManager.asset
├── EditorBuildSettings.asset
├── EditorSettings.asset
├── GraphicsSettings.asset
├── InputManager.asset
├── NavMeshAreas.asset
├── Physics2DSettings.asset
├── PresetManager.asset
├── ProjectSettings.asset
├── ProjectVersion.txt
├── QualitySettings.asset
├── TagManager.asset
├── TimeManager.asset
├── UnityConnectSettings.asset
├── VFXManager.asset
└── XRSettings.asset
├── README.md
├── art-source
├── Dropdown.psd
└── Icons_64px.psd
├── docs
├── docs
│ ├── index.md
│ └── tutorial
│ │ ├── cameraup.png
│ │ ├── import.png
│ │ ├── resources.md
│ │ └── resources_leveleditorprefabs.PNG
└── mkdocs.yml
├── giles.png
└── giles.sublime-project
/.gitignore:
--------------------------------------------------------------------------------
1 | /[Ll]ibrary/
2 | /[Tt]emp/
3 | /[Oo]bj/
4 | /[Bb]uild/
5 | /[Bb]uilds/
6 | /Assets/AssetStoreTools*
7 | /Assets/ProCore*
8 | /Assets/Debug*
9 | /Assets/Plugins*
10 |
11 | /docs/site*
12 |
13 | # Visual Studio 2015 cache directory
14 | .vs/
15 |
16 | # Jetbrains Rider cache directory
17 | .idea
18 |
19 | # Autogenerated VS/MD solution and project files
20 | ExportedObj/
21 | *.csproj
22 | *.unityproj
23 | *.sln
24 | *.suo
25 | *.tmp
26 | *.user
27 | *.userprefs
28 | *.pidb
29 | *.booproj
30 | *.svd
31 |
32 |
33 | # Unity3D generated meta files
34 | *.pidb.meta
35 |
36 | # Unity3D Generated File On Crash Reports
37 | sysinfo.txt
38 |
39 | # Assets/
40 | Assets/Debug*
41 | Assets/ShaderForge
42 | Assets/ShaderForge.meta
43 | *sublime-workspace
44 |
--------------------------------------------------------------------------------
/Assets/GILES.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b574f886abd1d364e97311fa350095e0
3 | folderAsset: yes
4 | timeCreated: 1442252875
5 | licenseType: Pro
6 | DefaultImporter:
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/GILES/Code.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3601d72c56a09d744b3fc64c9f4e7b7f
3 | folderAsset: yes
4 | timeCreated: 1435766800
5 | licenseType: Pro
6 | DefaultImporter:
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 31a38c9bf68c39447823cdb193cad1a5
3 | folderAsset: yes
4 | DefaultImporter:
5 | userData:
6 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Extension.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a61cecdca0cc87a4f919eea2da110be3
3 | folderAsset: yes
4 | timeCreated: 1434542612
5 | licenseType: Pro
6 | DefaultImporter:
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Extension/pb_CollectionUtil.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | namespace GILES
4 | {
5 | /**
6 | * A series of helper methods for working with collections.
7 | */
8 | public static class pb_CollectionUtil
9 | {
10 |
11 | ///
12 | ///Return an array filled with `value` and of length.
13 | ///
14 | ///
15 | /// Returns an array of T
16 | ///
17 | /// The type.
18 | /// The lenght of the array.
19 | public static T[] Fill(T value, int length)
20 | {
21 | T[] arr = new T[length];
22 | for(int i = 0; i < length; i++)
23 | arr[i] = value;
24 | return arr;
25 | }
26 |
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Extension/pb_CollectionUtil.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 50a3c327090bfa34984704e4624f7e74
3 | timeCreated: 1440519438
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Extension/pb_ComponentExtension.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d81e65318b7c0224b8c699306c053c84
3 | timeCreated: 1440103044
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Extension/pb_InputExtension.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 |
4 | namespace GILES
5 | {
6 |
7 | /**
8 | * Helper methods for Input
9 | */
10 | public static class pb_InputExtension
11 | {
12 | ///
13 | /// Returns true if any shift button is pressed.
14 | ///
15 | public static bool Shift()
16 | {
17 | return Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.RightShift);
18 | }
19 | ///
20 | /// Returns true if any control button is pressed.
21 | ///
22 | public static bool Control()
23 | {
24 | return Input.GetKey(KeyCode.LeftControl) || Input.GetKey(KeyCode.RightControl);
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Extension/pb_InputExtension.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 481898c0cfc203a4b829379eb58a1be3
3 | MonoImporter:
4 | serializedVersion: 2
5 | defaultReferences: []
6 | executionOrder: 0
7 | icon: {instanceID: 0}
8 | userData:
9 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Extension/pb_ObjectUtility.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5d89a24c74fef7d4ba0bf7f8b2405c6d
3 | timeCreated: 1442071734
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Extension/pb_StringUtil.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 58261edd94406d245b286f38e6fd7ac2
3 | timeCreated: 1439478882
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Extension/pb_TransformExtension.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | namespace GILES
4 | {
5 | /**
6 | * Utility methods for working with UnityEngine.Transform and pb_Transform types.
7 | */
8 | public static class pb_TransformExtension
9 | {
10 | ///
11 | /// Set a UnityEngine.Transform with a Runtime.pb_Transform.
12 | ///
13 |
14 | public static void SetTRS(this Transform transform, pb_Transform pbTransform)
15 | {
16 | transform.position = pbTransform.position;
17 | transform.localRotation = pbTransform.rotation;
18 | transform.localScale = pbTransform.scale;
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Extension/pb_TransformExtension.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 693d35e435758974fbb94c8a3009c3d0
3 | timeCreated: 1434042721
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 264f12ba54b2d3145a6061cad1c0d2b5
3 | folderAsset: yes
4 | timeCreated: 1439212452
5 | licenseType: Pro
6 | DefaultImporter:
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Component Editors.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 003d9d46d49bf8a418ff7229d634fad9
3 | folderAsset: yes
4 | timeCreated: 1439908068
5 | licenseType: Pro
6 | DefaultImporter:
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Component Editors/pb_CameraEditor.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Reflection;
4 | using GILES.Serialization;
5 |
6 | namespace GILES.Interface
7 | {
8 | public class pb_CameraEditor : pb_ComponentEditor
9 | {
10 | private Camera _camera;
11 |
12 | protected override void InitializeGUI()
13 | {
14 | _camera = (Camera) target;
15 |
16 | pb_GUIUtility.AddVerticalLayoutGroup(gameObject);
17 |
18 | pb_TypeInspector enabled_inspector = pb_InspectorResolver.GetInspector(typeof(bool));
19 |
20 | enabled_inspector.Initialize("Enabled", UpdateEnabled, OnSetEnabled);
21 | enabled_inspector.onValueBeginChange = () => { Undo.RegisterState( new UndoReflection(_camera, "enabled"), "Camera Enabled" ); };
22 | enabled_inspector.transform.SetParent(transform);
23 | }
24 |
25 | object UpdateEnabled()
26 | {
27 | return _camera.enabled;
28 | }
29 |
30 | void OnSetEnabled(object value)
31 | {
32 | _camera.enabled = (bool) value;
33 | pb_ComponentDiff.AddDiff(target, "enabled", _camera.enabled);
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Component Editors/pb_CameraEditor.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ca6e2c9b7c10fd84daae11d8cf611586
3 | timeCreated: 1442251794
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Component Editors/pb_ComponentEditor.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: dd59243100fd2a54e84641f3d424777e
3 | timeCreated: 1439904256
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Component Editors/pb_MeshColliderEditor.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Reflection;
4 | using GILES.Serialization;
5 |
6 | namespace GILES.Interface
7 | {
8 | public class pb_meshColliderEditor : pb_ComponentEditor
9 | {
10 | private MeshCollider _meshCollider;
11 |
12 | protected override void InitializeGUI()
13 | {
14 | _meshCollider = (MeshCollider) target;
15 |
16 | pb_GUIUtility.AddVerticalLayoutGroup(gameObject);
17 |
18 | pb_TypeInspector enabled_inspector = pb_InspectorResolver.GetInspector(typeof(bool));
19 |
20 | enabled_inspector.Initialize("Enabled", UpdateEnabled, OnSetEnabled);
21 | enabled_inspector.onValueBeginChange = () => { Undo.RegisterState( new UndoReflection(_meshCollider, "enabled"), "Mesh Collider Enabled" ); };
22 | enabled_inspector.transform.SetParent(transform);
23 | }
24 |
25 | object UpdateEnabled()
26 | {
27 | return _meshCollider.enabled;
28 | }
29 |
30 | void OnSetEnabled(object value)
31 | {
32 | _meshCollider.enabled = (bool) value;
33 | }
34 | }
35 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Component Editors/pb_MeshColliderEditor.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ea3a9fe68317d7a48b71a5b0ecf98b59
3 | timeCreated: 1440701795
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Component Editors/pb_MeshRendererEditor.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2805e7a81e2b64345ad58c3fb8d8eb7f
3 | timeCreated: 1440701411
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Component Editors/pb_TransformEditor.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: aed7937f63d2f024e8f136c911db132c
3 | timeCreated: 1439908075
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: cc5b73ba3e848d245b86a7b26a18c2c8
3 | folderAsset: yes
4 | timeCreated: 1439221865
5 | licenseType: Pro
6 | DefaultImporter:
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_BoolInspector.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Reflection;
4 |
5 | namespace GILES.Interface
6 | {
7 | /**
8 | * Field editor for boolean types.
9 | */
10 | [pb_TypeInspector(typeof(bool))]
11 | public class pb_BoolInspector : pb_TypeInspector
12 | {
13 | bool value;
14 |
15 | public UnityEngine.UI.Text title;
16 | public UnityEngine.UI.Toggle input;
17 |
18 | public override void InitializeGUI()
19 | {
20 | title.text = GetName().SplitCamelCase();
21 | input.onValueChanged.AddListener( OnValueChange );
22 | }
23 |
24 | protected override void OnUpdateGUI()
25 | {
26 | value = GetValue();
27 | input.isOn = value;
28 | }
29 |
30 | public void OnValueChange(bool val)
31 | {
32 | value = val;
33 | SetValue(value);
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_BoolInspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9da23bac2acce4f489f83631419b7d1c
3 | timeCreated: 1439556935
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_ColorInspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d3bc3dca93edda147b5bf08e6a14cd46
3 | timeCreated: 1439555812
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_ComponentInspector.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Reflection;
4 |
5 | namespace GILES.Interface
6 | {
7 | /**
8 | * Field editor for Component types.
9 | */
10 | [pb_TypeInspector(typeof(Component))]
11 | public class pb_ComponentInspector : pb_TypeInspector
12 | {
13 | public override void InitializeGUI()
14 | {}
15 |
16 | protected override void OnUpdateGUI()
17 | {}
18 | }
19 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_ComponentInspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 330717bd388d9c34e854d7383e51f497
3 | timeCreated: 1439483702
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_EnumInspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 67812796908e36449bb8f8f7c62a32b4
3 | timeCreated: 1439559358
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_FloatInspector.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Reflection;
4 |
5 | namespace GILES.Interface
6 | {
7 | /**
8 | * Field editor for float types.
9 | */
10 | [pb_TypeInspector(typeof(float))]
11 | public class pb_FloatInspector : pb_TypeInspector
12 | {
13 | float value;
14 |
15 | public UnityEngine.UI.Text title;
16 | public UnityEngine.UI.InputField input;
17 |
18 | void OnGUIChanged()
19 | {
20 | SetValue(value);
21 | }
22 |
23 | public override void InitializeGUI()
24 | {
25 | title.text = GetName().SplitCamelCase();
26 | #if UNITY_5_2
27 | input.onValueChange.AddListener( OnValueChange );
28 | #else
29 | input.onValueChanged.AddListener( OnValueChange );
30 | #endif
31 | }
32 |
33 |
34 | protected override void OnUpdateGUI()
35 | {
36 | value = GetValue();
37 | input.text = value.ToString();
38 | }
39 |
40 | public void OnValueChange(string val)
41 | {
42 | float v;
43 |
44 | if(float.TryParse(val, out v))
45 | {
46 | value = v;
47 | OnGUIChanged();
48 | }
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_FloatInspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3868dd02b7e8f1249b3f305fd1b5f4bf
3 | timeCreated: 1439554682
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_GameObjectInspector.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using UnityEngine.UI;
3 | using System.Collections;
4 | using System.Collections.Generic;
5 | using System.Reflection;
6 |
7 | namespace GILES.Interface
8 | {
9 | /**
10 | * Field editor for GameObject types.
11 | */
12 | [pb_TypeInspector(typeof(GameObject))]
13 | public class pb_GameObjectInspector : pb_TypeInspector
14 | {
15 | GameObject value;
16 |
17 | void OnGUIChanged()
18 | {
19 | SetValue(value);
20 | }
21 |
22 | public override void InitializeGUI()
23 | {
24 | value = GetValue();
25 | }
26 |
27 | protected override void OnUpdateGUI()
28 | {
29 | }
30 |
31 | public void OnValueChange(object val)
32 | {
33 | }
34 | }
35 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_GameObjectInspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 22dad19eb53e09a4f9c7ea509d41612e
3 | timeCreated: 1440421665
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_ICollectionInspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8c60d2d343004274db650db79e2a89a5
3 | timeCreated: 1440418303
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_IntInspector.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Reflection;
4 |
5 | namespace GILES.Interface
6 | {
7 | /**
8 | * Field editor for integer types.
9 | */
10 | [pb_TypeInspector(typeof(int))]
11 | public class pb_IntInspector : pb_TypeInspector
12 | {
13 | int value;
14 |
15 | public UnityEngine.UI.Text title;
16 | public UnityEngine.UI.InputField input;
17 |
18 | void OnGUIChanged()
19 | {
20 | SetValue(value);
21 | }
22 |
23 | public override void InitializeGUI()
24 | {
25 | title.text = GetName().SplitCamelCase();
26 | #if UNITY_5_2
27 | input.onValueChange.AddListener( OnValueChange );
28 | #else
29 | input.onValueChanged.AddListener( OnValueChange );
30 | #endif
31 | }
32 |
33 | protected override void OnUpdateGUI()
34 | {
35 | value = GetValue();
36 | input.text = value.ToString();
37 | }
38 |
39 | public void OnValueChange(string val)
40 | {
41 | int v;
42 |
43 | if(int.TryParse(val, out v))
44 | {
45 | value = v;
46 | OnGUIChanged();
47 | }
48 | }
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_IntInspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b59cf8ee8259a9943ab34df95310955d
3 | timeCreated: 1439554813
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_MaterialInspector.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Reflection;
4 |
5 | namespace GILES.Interface
6 | {
7 | /**
8 | * Field editor for Material types.
9 | */
10 | [pb_TypeInspector(typeof(Material))]
11 | public class pb_MaterialInspector : pb_TypeInspector
12 | {
13 | Material value;
14 |
15 | public UnityEngine.UI.Text title;
16 | public UnityEngine.UI.InputField dropbox;
17 |
18 | void OnGUIChanged()
19 | {
20 | SetValue(value);
21 | }
22 |
23 | public override void InitializeGUI()
24 | {
25 | title.text = GetName().SplitCamelCase();
26 | }
27 |
28 | protected override void OnUpdateGUI()
29 | {
30 | value = GetValue();
31 | dropbox.text = (value == null ? "null" : value.ToString());
32 | }
33 |
34 | public void OnValueChange(Material val)
35 | {
36 | value = val;
37 | OnGUIChanged();
38 | }
39 | }
40 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_MaterialInspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7879c0851f0fe3a4d8d11244e7060929
3 | timeCreated: 1440162964
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_ObjectInspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9e153260f14fb3643a199997da2388fb
3 | timeCreated: 1440166377
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_QuaternionInspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f9100820c1f2a3843b104b0601e477a9
3 | timeCreated: 1439498663
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_StringInspector.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Reflection;
4 |
5 | namespace GILES.Interface
6 | {
7 | /**
8 | * Field editor for string types.
9 | */
10 | [pb_TypeInspector(typeof(string))]
11 | public class pb_StringInspector : pb_TypeInspector
12 | {
13 | string value;
14 |
15 | public UnityEngine.UI.Text title;
16 | public UnityEngine.UI.InputField input;
17 |
18 | public override void InitializeGUI()
19 | {
20 | title.text = GetName().SplitCamelCase();
21 | #if UNITY_5_2
22 | input.onValueChange.AddListener( OnValueChange );
23 | #else
24 | input.onValueChanged.AddListener( OnValueChange );
25 | #endif
26 | }
27 |
28 | protected override void OnUpdateGUI()
29 | {
30 | value = GetValue();
31 | input.text = value != null ? value.ToString() : "null";
32 | }
33 |
34 | public void OnValueChange(string val)
35 | {
36 | SetValue(val);
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_StringInspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0e067d583ba443b46bf3f084bdc991f9
3 | timeCreated: 1439994443
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_UnityObjectInspector.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Reflection;
4 |
5 | namespace GILES.Interface
6 | {
7 | /**
8 | * Field editor for UnityEngine.Object types.
9 | */
10 | [pb_TypeInspector(typeof(UnityEngine.Object))]
11 | public class pb_UnityObjectInspector : pb_TypeInspector
12 | {
13 | UnityEngine.Object value;
14 |
15 | public UnityEngine.UI.Text title;
16 | public UnityEngine.UI.InputField dropbox;
17 |
18 | void OnGUIChanged()
19 | {
20 | SetValue(value);
21 | }
22 |
23 | public override void InitializeGUI()
24 | {
25 | title.text = GetName().SplitCamelCase();
26 | }
27 |
28 | protected override void OnUpdateGUI()
29 | {
30 | value = GetValue();
31 | dropbox.text = (value == null ? "null" : value.ToString());
32 | }
33 |
34 | public void OnValueChange(UnityEngine.Object val)
35 | {
36 | value = val;
37 | OnGUIChanged();
38 | }
39 | }
40 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_UnityObjectInspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 26e25be9283a7654c903645f7d970f28
3 | timeCreated: 1439558368
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_Vector2Inspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 20cf540c4c1c11040af420d41641a561
3 | timeCreated: 1439555999
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_Vector3Inspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d3dd6065ce2b50344b581da311873749
3 | timeCreated: 1439477673
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/Type Inspectors/pb_Vector4Inspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2cc242ca4ba2c8b46b1957b2d0801d6b
3 | timeCreated: 1439498176
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_ComponentEditorResolver.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e18987034773f2b46aa1c96c72a84688
3 | timeCreated: 1439907559
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_DraggableInputField.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f34ad9b06a163624c84e2f4d8b469667
3 | timeCreated: 1440696023
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_EditorStyles.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ae9ccd1ceaf23d446bfd6a62a4c37bb0
3 | timeCreated: 1441378646
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_GUI.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 13564c79ebdc57e4eb468bb955a3966f
3 | timeCreated: 1439214033
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_GUIStyle.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f374ca0668df2224282ed650b2cb589d
3 | timeCreated: 1441379552
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_GUIUtility.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b908e5f31195abb41af6dbda94b4f5cc
3 | timeCreated: 1439212398
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_GizmoAttribute.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System;
3 |
4 | namespace GILES
5 | {
6 | /**
7 | * pb_GizmoAttribute declares the type that a class inheriting pb_Gizmo draws over.
8 | * \sa pb_Gizmo pb_GizmoManager
9 | */
10 | [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
11 | public class pb_GizmoAttribute : Attribute
12 | {
13 | /// The type for which this class is providing an editor.
14 | public Type type;
15 |
16 | /**
17 | * Attribute constructor accepts a type argument for the inspected type.
18 | */
19 | public pb_GizmoAttribute(System.Type type)
20 | {
21 | this.type = type;
22 | }
23 |
24 | /**
25 | * Return true if the class marked with this attribute can inspect the type.
26 | */
27 | public virtual bool CanEditType(Type rhs)
28 | {
29 | return type.IsAssignableFrom(rhs);
30 | }
31 | }
32 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_GizmoAttribute.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a77e4bf2777e196418b09e6ab5052899
3 | timeCreated: 1440516149
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_GridLayoutGroup.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using UnityEngine.UI;
3 | using System.Collections;
4 |
5 | namespace GILES.Interface
6 | {
7 | /**
8 | * Resize grid element width and height to best fit the available space.
9 | */
10 | public class pb_GridLayoutGroup : GridLayoutGroup, pb_IOnResizeHandler
11 | {
12 | public Vector2 elementSize = new Vector2(100f, 100f);
13 |
14 | public bool maintainAspectRatio = true;
15 |
16 | protected override void Start()
17 | {
18 | base.Start();
19 |
20 | OnResize();
21 | }
22 |
23 | public void OnResize()
24 | {
25 | float width = (rectTransform.rect.width - spacing.x);
26 | float grid = elementSize.x + spacing.x;
27 |
28 | if(width <= grid)
29 | return;
30 |
31 | Vector2 cell = Vector2.zero;
32 |
33 | cell.x = elementSize.x + (width % grid) / (float)(((int)width) / ((int)grid));
34 |
35 | if(maintainAspectRatio)
36 | cell.y = elementSize.y * (cell.x / elementSize.x);
37 |
38 | cellSize = cell;
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_GridLayoutGroup.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 55fd09f5c37ee564a8cd0a09a4319d12
3 | timeCreated: 1441723574
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_ICustomEditor.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 |
3 | namespace GILES.Interface
4 | {
5 | public interface pb_ICustomEditor
6 | {
7 | /**
8 | * Instantiate a UI panel or layout group that will be added to the inspector window.
9 | * \sa pb_TypeInspector, pb_Inspector, pb_ComponentEditor
10 | */
11 | pb_ComponentEditor InstantiateInspector(Component component);
12 | }
13 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_ICustomEditor.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bf0120cf325b7534ca5dcbd33b6b6040
3 | timeCreated: 1439496168
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_InspectorIgnoreAttribute.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System;
3 |
4 | namespace GILES.Interface
5 | {
6 | /**
7 | * Classes or members marked with [pb_InspectorIgnore] will not have their serialized values shown in the Inspector window.
8 | */
9 | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
10 | public class pb_InspectorIgnoreAttribute : Attribute
11 | {
12 |
13 | }
14 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_InspectorIgnoreAttribute.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b5deeff5c8e4eeb47965b32a37d3a113
3 | timeCreated: 1441721443
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_InspectorLabelLayoutElement.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using UnityEngine.UI;
3 | using System.Collections;
4 |
5 | namespace GILES.Interface
6 | {
7 | /**
8 | * Component attached to pb_TypeInspectors to guarantee a uniform label width
9 | * for int, enum, toggle, float, and string fields.
10 | */
11 | public class pb_InspectorLabelLayoutElement : LayoutElement
12 | {
13 | const int LABEL_WIDTH = 64;
14 |
15 | public override float minWidth
16 | {
17 | get { return LABEL_WIDTH; }
18 | }
19 |
20 | public override float preferredWidth
21 | {
22 | get { return LABEL_WIDTH; }
23 | }
24 | }
25 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_InspectorLabelLayoutElement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 486edac520d9ea14dab080ef7a41c424
3 | timeCreated: 1440100459
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_InspectorResolver.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9c6c55d8ab93db143bb98db92f1d4554
3 | timeCreated: 1439212522
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_TypeInspector.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 54472f89f1f59a44282c5f59a7315e1c
3 | timeCreated: 1439212688
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_TypeInspectorAttribute.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System;
3 |
4 | namespace GILES.Interface
5 | {
6 | /**
7 | * pb_TypeInspector attribute declares the type that a class inheriting pb_TypeInspector edits.
8 | * \sa pb_TypeInspector pb_InspectorResolver pb_Inspector
9 | */
10 | [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
11 | public class pb_TypeInspectorAttribute : Attribute
12 | {
13 | /// The type for which this class is providing an editor.
14 | public Type type;
15 |
16 | /**
17 | * Attribute constructor accepts a type argument for the inspected type.
18 | */
19 | public pb_TypeInspectorAttribute(System.Type type)
20 | {
21 | this.type = type;
22 | }
23 |
24 | /**
25 | * Return true if the class marked with this attribute can inspect the type.
26 | */
27 | public virtual bool CanEditType(Type rhs)
28 | {
29 | return type.IsAssignableFrom(rhs);
30 | }
31 | }
32 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/GUI/pb_TypeInspectorAttribute.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e772cbf890e8c2f4da6ce07446697c41
3 | timeCreated: 1439222627
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 32acd3e115d014f4e991915691154b19
3 | folderAsset: yes
4 | timeCreated: 1435243610
5 | licenseType: Pro
6 | DefaultImporter:
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Built-in Component.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6e18667fdc6481e4786a491696447269
3 | folderAsset: yes
4 | timeCreated: 1437581179
5 | licenseType: Pro
6 | DefaultImporter:
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Built-in Component/pb_CameraComponent.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 | using System.Runtime.Serialization;
5 | using GILES;
6 |
7 | namespace GILES.Serialization
8 | {
9 | /**
10 | * Specialized component wrapper for serializing and deserializing Camera components.
11 | */
12 | public class pb_CameraComponent : pb_SerializableObject
13 | {
14 | public pb_CameraComponent(UnityEngine.Camera obj) : base(obj) {}
15 | public pb_CameraComponent(SerializationInfo info, StreamingContext context) : base(info, context) {}
16 |
17 | public override Dictionary PopulateSerializableDictionary()
18 | {
19 | Dictionary props = pb_Reflection.ReflectProperties(target);
20 |
21 | props.Remove("worldToCameraMatrix");
22 | props.Remove("projectionMatrix");
23 |
24 | return props;
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Built-in Component/pb_CameraComponent.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a7a31b8b906c93047b5a67ec693c445b
3 | timeCreated: 1437576770
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Built-in Component/pb_MeshCollider.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9af4d155965196046b0d1f9bab00ba9b
3 | timeCreated: 1438689576
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Built-in Component/pb_MeshFilter.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 | using System.Runtime.Serialization;
5 |
6 | namespace GILES.Serialization
7 | {
8 | /**
9 | * Specialized component wrapper for serializing and deserializing MeshFilter components.
10 | */
11 | public class pb_MeshFilter : pb_SerializableObject
12 | {
13 | public pb_MeshFilter(UnityEngine.MeshFilter obj) : base(obj) {}
14 | public pb_MeshFilter(SerializationInfo info, StreamingContext context) : base(info, context) {}
15 |
16 | public override Dictionary PopulateSerializableDictionary()
17 | {
18 | Dictionary props = new Dictionary(); // pb_Reflection.ReflectProperties(target);
19 |
20 | props.Add("sharedMesh", target.sharedMesh);
21 | props.Add("tag", target.tag);
22 | props.Add("name", target.name);
23 | props.Add("hideFlags", target.hideFlags);
24 |
25 | return props;
26 | }
27 | }
28 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Built-in Component/pb_MeshFilter.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e7bc6f352fc293442a44fd71c7d77621
3 | timeCreated: 1437667076
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Built-in Component/pb_MeshRenderer.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 | using System.Runtime.Serialization;
5 | using GILES;
6 |
7 | namespace GILES.Serialization
8 | {
9 | public class pb_MeshRenderer : pb_SerializableObject
10 | {
11 | public pb_MeshRenderer(UnityEngine.MeshRenderer obj) : base(obj) {}
12 | public pb_MeshRenderer(SerializationInfo info, StreamingContext context) : base(info, context) {}
13 |
14 | public override Dictionary PopulateSerializableDictionary()
15 | {
16 | Dictionary props = pb_Reflection.ReflectProperties(target, new HashSet()
17 | {
18 | "material",
19 | "sharedMaterial",
20 | "materials"
21 | });
22 |
23 | return props;
24 | }
25 | }
26 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Built-in Component/pb_MeshRenderer.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 93f76c4ff8ad56c4187a32ee0a7448df
3 | timeCreated: 1438696542
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Converters.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 77c41d966994b8340a3bc835fdb443cb
3 | folderAsset: yes
4 | timeCreated: 1435938877
5 | licenseType: Pro
6 | DefaultImporter:
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Converters/pb_ColorConverter.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 76a5395956c885345852230535218dbf
3 | timeCreated: 1435938881
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Converters/pb_ContractResolver.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 18701e84ca8d5424e9f3094652923b56
3 | timeCreated: 1435850012
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Converters/pb_MaterialConverter.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: cf74c005bbe59f54798db04dcf560525
3 | timeCreated: 1435939163
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Converters/pb_MatrixConverter.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3f0461e0fa8200e4c9a44578e3bc7813
3 | timeCreated: 1437402927
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Converters/pb_MeshConverter.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e6670291131545b42928a8d0d29b5c98
3 | timeCreated: 1437669017
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Converters/pb_ObjectContainer.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 30ea2c618b87b674aad7f0f0307a79c7
3 | timeCreated: 1437740696
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Converters/pb_ObjectContainerConverter.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using Newtonsoft.Json;
3 | using Newtonsoft.Json.Serialization;
4 | using Newtonsoft.Json.Linq;
5 | using System.Reflection;
6 | using System;
7 | using System.Linq;
8 |
9 | namespace GILES.Serialization
10 | {
11 | public class pb_ObjectConverter : JsonConverter
12 | {
13 | public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
14 | {
15 | throw new NotImplementedException("Cannot write objects!");
16 | }
17 |
18 | public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
19 | {
20 | JObject o = JObject.Load(reader);
21 | var obj = o.GetValue("value").ToObject(objectType, serializer);
22 | return ((pb_ObjectWrapper)obj).GetValue();
23 | }
24 |
25 | public override bool CanConvert(Type objectType)
26 | {
27 | return objectType is pb_ObjectWrapper;
28 | }
29 |
30 | public override bool CanWrite
31 | {
32 | get { return false; }
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Converters/pb_ObjectContainerConverter.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c7437ccb8c3ea1f469be45487796ba04
3 | timeCreated: 1437742366
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Converters/pb_UnityTypeConverter.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 83fc0ce8e2133464387532fd6d9c7983
3 | timeCreated: 1438002823
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Converters/pb_VectorConverter.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4316c626839d8544cbef446bf22f1119
3 | timeCreated: 1435938877
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/FALsGames/giles/e883a89b342abb3ef67c068e8fafc8d756348691/Assets/GILES/Code/Classes/Serialization/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/Newtonsoft.Json.dll.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d09d905a0d9f4d846a27baa02d4e2ced
3 | timeCreated: 1435333501
4 | licenseType: Pro
5 | PluginImporter:
6 | serializedVersion: 1
7 | iconMap: {}
8 | executionOrder: {}
9 | isPreloaded: 0
10 | platformData:
11 | Any:
12 | enabled: 1
13 | settings: {}
14 | Editor:
15 | enabled: 0
16 | settings:
17 | DefaultValueInitialized: true
18 | WindowsStoreApps:
19 | enabled: 0
20 | settings:
21 | CPU: AnyCPU
22 | userData:
23 | assetBundleName:
24 | assetBundleVariant:
25 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/pb_ComponentDiff.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: eff36f2c823e9394abec04f4524a4348
3 | timeCreated: 1440076899
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/pb_ISerializable.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections.Generic;
3 | using System.Runtime.Serialization;
4 |
5 | namespace GILES.Serialization
6 | {
7 | /**
8 | * Interface for objects that want to customize serialization process at the
9 | * pre-Json.NET level. Converters for Components fall into this category -
10 | * see pb_SerializableObject class for more on customizing the serialization
11 | * pipeline.
12 | */
13 | public interface pb_ISerializable : ISerializable
14 | {
15 | /// The type of component stored.
16 | System.Type type { get; set; }
17 |
18 | /// Called after an object is deserialized and constructed to it's base `type`.
19 | void ApplyProperties(object obj);
20 |
21 | /// Called before serialization, any properties stoed in the returned dictionary
22 | /// will be saved and re-applied in ApplyProperties.
23 | Dictionary PopulateSerializableDictionary();
24 | }
25 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/pb_ISerializable.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a114dc88bfa41b540b71a28f34ad0759
3 | timeCreated: 1438691490
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/pb_ISerializableComponent.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 |
5 | namespace GILES.Serialization
6 | {
7 | /**
8 | * pb_ISerializable interface allows components implementing it to override
9 | * the data that is saved when serializing.
10 | */
11 | public interface pb_ISerializableComponent
12 | {
13 | /**
14 | * Called prior to serializing a component, store any data that should be
15 | * serialized in a dictionary with a string key and object value.
16 | */
17 | Dictionary PopulateSerializableDictionary();
18 |
19 | /**
20 | * Method will be called when rebuilding a component. `values` contains
21 | * the data stored by `PopulateSerializableDictionary()`.
22 | */
23 | void ApplyDictionaryValues(Dictionary values);
24 | }
25 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/pb_ISerializableComponent.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f509434f8b5d79c40930752497cbe609
3 | timeCreated: 1437574595
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/pb_InspectorNameAttribute.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace GILES.Serialization
4 | {
5 | [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
6 | public class pb_InspectorNameAttribute : Attribute
7 | {
8 |
9 | public readonly string name;
10 |
11 | public pb_InspectorNameAttribute(string name)
12 | {
13 | this.name = name;
14 | }
15 | }
16 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/pb_InspectorNameAttribute.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b6b845a15042a7e4e9585b9c05dd3c8d
3 | timeCreated: 1455394965
4 | licenseType: Free
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/pb_JsonIgnoreAttribute.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System;
3 |
4 | namespace GILES.Serialization
5 | {
6 | /**
7 | * Classes marked with this attribute will be ignored when serializing a level.
8 | */
9 | [AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = true)]
10 | public class pb_JsonIgnoreAttribute : Attribute {}
11 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/pb_JsonIgnoreAttribute.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e65faa48775ee084fa33bff7da68624b
3 | timeCreated: 1439555628
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/pb_SceneNode.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6c04de769c43c184eb9b9037e866ef6c
3 | timeCreated: 1435242320
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/pb_SerializableObject.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 90bbcafb91012cf42ad9d6a3627d10dc
3 | timeCreated: 1437575684
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Serialization/pb_Serialization.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e905d0a0c25c5484ca60376e573c0053
3 | timeCreated: 1437577145
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Undo.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 08fb50f5ff3342b45ae9465116a93627
3 | folderAsset: yes
4 | timeCreated: 1434378136
5 | licenseType: Pro
6 | DefaultImporter:
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Undo/IUndo.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d5eb1ad479822744ab48fc01d9d5e8d7
3 | timeCreated: 1434374052
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Undo/Undo.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a7a3fb245717dd0469eb961b96a05aeb
3 | timeCreated: 1434116260
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Undo/UndoDelete.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 312eedf9b73dc904c97cd8412498e8cc
3 | timeCreated: 1434460139
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Undo/UndoInstantiate.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Collections;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 |
6 | namespace GILES
7 | {
8 | /**
9 | * Undo support for creating new gameObjects in scene. Call after instantiating an object.
10 | */
11 | public class UndoInstantiate : IUndo
12 | {
13 | public GameObject gameObject;
14 | [SerializeField] bool initialized = false;
15 |
16 | public UndoInstantiate(GameObject go)
17 | {
18 | this.gameObject = go;
19 | initialized = false;
20 | }
21 |
22 | public Hashtable RecordState()
23 | {
24 | Hashtable hash = new Hashtable();
25 | hash.Add(gameObject, initialized ? gameObject.activeSelf : false);
26 | initialized = true;
27 | return hash;
28 | }
29 |
30 | public void ApplyState(Hashtable hash)
31 | {
32 | foreach(DictionaryEntry kvp in hash)
33 | ((GameObject)kvp.Key).SetActive((bool)kvp.Value);
34 | }
35 |
36 | public void OnExitScope()
37 | {
38 | if( gameObject != null && !gameObject.activeSelf )
39 | pb_ObjectUtility.Destroy(gameObject);
40 | }
41 | }
42 | }
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Undo/UndoInstantiate.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1cc0abf7eafd8cf44a30b22a0a1b7264
3 | timeCreated: 1434543441
4 | licenseType: Pro
5 | MonoImporter:
6 | serializedVersion: 2
7 | defaultReferences: []
8 | executionOrder: 0
9 | icon: {instanceID: 0}
10 | userData:
11 | assetBundleName:
12 | assetBundleVariant:
13 |
--------------------------------------------------------------------------------
/Assets/GILES/Code/Classes/Undo/UndoReflection.cs:
--------------------------------------------------------------------------------
1 | using UnityEngine;
2 | using System.Reflection;
3 | using System.Collections;
4 |
5 | namespace GILES
6 | {
7 | /**
8 | * Undo setting a value with reflection.
9 | */
10 | public class UndoReflection : IUndo
11 | {
12 | public object target;
13 | public string memberName;
14 |
15 | public UndoReflection(object target, string member)
16 | {
17 | this.target = target;
18 | this.memberName = member;
19 | }
20 |
21 | public UndoReflection(object target, MemberInfo info)
22 | {
23 | this.target = target;
24 | this.memberName = info.Name;
25 | }
26 |
27 | public Hashtable RecordState()
28 | {
29 | Hashtable hash = new Hashtable();
30 |
31 | hash.Add("value", pb_Reflection.GetValue