├── .gitignore ├── Assets ├── PrefabEditor.meta └── PrefabEditor │ ├── Editor.meta │ └── Editor │ ├── PrefabEditor.cs │ └── PrefabEditor.cs.meta ├── Medias └── screen.gif ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset └── UnityConnectSettings.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | [Ll]ibrary/ 2 | [Tt]emp/ 3 | [Oo]bj/ 4 | [Bb]uild/ 5 | [Bb]uilds/ 6 | Assets/AssetStoreTools* 7 | 8 | # Autogenerated VS/MD solution and project files 9 | ExportedObj/ 10 | *.csproj 11 | *.unityproj 12 | *.sln 13 | *.suo 14 | *.tmp 15 | *.user 16 | *.userprefs 17 | *.pidb 18 | *.booproj 19 | *.svd 20 | 21 | 22 | # Unity3D generated meta files 23 | *.pidb.meta 24 | 25 | # Unity3D Generated File On Crash Reports 26 | sysinfo.txt 27 | 28 | # Builds 29 | *.apk 30 | *.unitypackage 31 | -------------------------------------------------------------------------------- /Assets/PrefabEditor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 31d16bb0473474a6089892c31518d4b8 3 | folderAsset: yes 4 | timeCreated: 1494663727 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PrefabEditor/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 152ccf9e646e549c48269091f4073587 3 | folderAsset: yes 4 | timeCreated: 1494663731 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PrefabEditor/Editor/PrefabEditor.cs: -------------------------------------------------------------------------------- 1 | using System.IO; 2 | using System.Linq; 3 | 4 | using UnityEngine; 5 | using UnityEditor; 6 | using UnityEditor.SceneManagement; 7 | 8 | /// 9 | /// 10 | [InitializeOnLoad] 11 | public class PrefabEditorAssetProcessor : UnityEditor.AssetModificationProcessor 12 | { 13 | /// 14 | /// Path of tmp PrefabEditor scene 15 | /// 16 | private static string mTmpScenePath; 17 | 18 | /// 19 | /// ctor call when unity editor start 20 | /// 21 | static PrefabEditorAssetProcessor() 22 | { 23 | SceneView.onSceneGUIDelegate += OnGUIScene; 24 | EditorApplication.update = OnUpdateEditor; 25 | mTmpScenePath = Path.Combine(GetDirectoryName(), "PrefabTmpScene.unity"); 26 | 27 | // On windows editor, final path must be converted into UNIX format 28 | // to match with AssetDatabase.GetAssetPath and OnWillSaveAssets param 29 | #if UNITY_EDITOR_WIN 30 | mTmpScenePath = mTmpScenePath.Replace('\\', '/'); 31 | #endif 32 | } 33 | 34 | /// 35 | /// Get path of PrefabEditor directory 36 | /// 37 | /// PrefabEditor path 38 | private static string GetDirectoryName() 39 | { 40 | var monoscript = MonoScript.FromScriptableObject(PrefabEditor.Instance); 41 | return Path.GetDirectoryName(AssetDatabase.GetAssetPath(monoscript)); 42 | } 43 | 44 | /// 45 | /// Call during editor update 46 | /// 47 | private static void OnUpdateEditor() 48 | { 49 | // Remove tmp scene if prefab editor is close 50 | if (File.Exists(mTmpScenePath) && PrefabEditor.Instance.prefabInstance == null) 51 | { 52 | File.Delete(mTmpScenePath); 53 | AssetDatabase.Refresh(); 54 | } 55 | } 56 | 57 | /// 58 | /// Call by the editor when user double click on any asset 59 | /// 60 | /// 61 | /// 62 | /// 63 | [UnityEditor.Callbacks.OnOpenAssetAttribute(1)] 64 | public static bool OpenPrefabEditorCallback(int instanceID, int line) 65 | { 66 | string assetPath = AssetDatabase.GetAssetPath(instanceID); 67 | var fileInfo = new FileInfo(assetPath); 68 | if (fileInfo.Extension == ".prefab") 69 | { 70 | OpenPrefabEditor(assetPath); 71 | return true; 72 | } 73 | return false; 74 | } 75 | 76 | /// 77 | /// Draw GUI on SceneView 78 | /// 79 | /// 80 | private static void OnGUIScene(SceneView sceneView) 81 | { 82 | if (PrefabEditor.Instance.prefabInstance == null) 83 | { 84 | return; 85 | } 86 | 87 | GUIStyle style = new GUIStyle(); 88 | style.fontSize = 20; 89 | style.normal.textColor = new Color(0,0,0,0.5f); 90 | style.alignment = TextAnchor.UpperLeft; 91 | style.fontStyle = FontStyle.Bold; 92 | style.margin = new RectOffset(15, 0, 0, 0); 93 | 94 | Handles.BeginGUI(); 95 | GUILayout.Label("Prefab Editor", style); 96 | if (!string.IsNullOrEmpty(PrefabEditor.Instance.previousScenePath)) 97 | { 98 | if (GUILayout.Button("Back to previous scene", GUILayout.Width(175))) 99 | { 100 | if (EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo()) 101 | { 102 | EditorSceneManager.OpenScene(PrefabEditor.Instance.previousScenePath, OpenSceneMode.Single); 103 | } 104 | } 105 | } 106 | Handles.EndGUI(); 107 | } 108 | 109 | /// 110 | /// This is called by Unity when it is about to write serialized assets or scene files to disk. 111 | /// 112 | /// 113 | private static string[] OnWillSaveAssets(string[] paths) 114 | { 115 | if (paths.Contains(mTmpScenePath) && PrefabEditor.Instance.prefabInstance != null) 116 | { 117 | PrefabUtility.ReplacePrefab( 118 | PrefabEditor.Instance.prefabInstance, 119 | PrefabEditor.Instance.prefabRoot, 120 | ReplacePrefabOptions.ConnectToPrefab); 121 | } 122 | return paths; 123 | } 124 | 125 | /// 126 | /// Open prefab editor 127 | /// 128 | /// Path of prefab file in assets directory 129 | public static void OpenPrefabEditor(string assetPath) 130 | { 131 | // Load object at path 132 | var prefab = AssetDatabase.LoadAssetAtPath(assetPath, typeof(GameObject)) as GameObject; 133 | 134 | // Quit if load failed 135 | if (!prefab) 136 | { 137 | return; 138 | } 139 | 140 | // Quit if object is not a prefab 141 | if (PrefabUtility.GetPrefabType(prefab) != PrefabType.Prefab) 142 | { 143 | return; 144 | } 145 | 146 | // Quit if editor is in playmode 147 | if (EditorApplication.isPlaying) 148 | { 149 | EditorWindow.focusedWindow.ShowNotification(new GUIContent("Can't open prefab editor in playmode")); 150 | return; 151 | } 152 | 153 | // Save currently open scene 154 | if (!EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo()) 155 | { 156 | return; 157 | } 158 | 159 | //Save current scene path 160 | PrefabEditor.Instance.previousScenePath = EditorSceneManager.GetActiveScene().path; 161 | 162 | //Create new empty scene 163 | EditorSceneManager.NewScene(NewSceneSetup.EmptyScene); 164 | 165 | //Save this new scene 166 | EditorSceneManager.SaveScene(EditorSceneManager.GetActiveScene(), mTmpScenePath); 167 | 168 | PrefabEditor.Instance.prefabRoot = prefab; 169 | 170 | //Instantiate the prefab and select it 171 | var prefabInstance = PrefabUtility.InstantiatePrefab(PrefabEditor.Instance.prefabRoot) as GameObject; 172 | PrefabEditor.Instance.prefabInstance = prefabInstance; 173 | 174 | if (prefab.GetComponentInChildren()) 175 | { 176 | var canvas = new GameObject("Canvas"); 177 | canvas.AddComponent(); 178 | prefabInstance.transform.SetParent(canvas.transform); 179 | } 180 | 181 | Selection.activeGameObject = PrefabEditor.Instance.prefabInstance; 182 | 183 | //Focus our scene view camera to aid in editing 184 | if (SceneView.lastActiveSceneView) 185 | { 186 | SceneView.lastActiveSceneView.Focus(); 187 | //Focus on prefab instance in scene editor 188 | SceneView.lastActiveSceneView.FrameSelected(); 189 | //Enable default editor lighting 190 | SceneView.lastActiveSceneView.m_SceneLighting = false; 191 | } 192 | } 193 | } 194 | 195 | /// 196 | /// PrefabEditor data. 197 | /// ScriptableObject to use GetAssetPath in GetDirectoryName 198 | /// and dont lose ref when assembly reload 199 | /// 200 | public class PrefabEditor : ScriptableObject 201 | { 202 | #region singleton 203 | private static PrefabEditor m_instance = null; 204 | public static PrefabEditor Instance 205 | { 206 | get 207 | { 208 | if (m_instance == null) 209 | { 210 | m_instance = CreateInstance(); 211 | m_instance.hideFlags = HideFlags.HideAndDontSave; 212 | } 213 | return m_instance; 214 | } 215 | } 216 | 217 | private void OnEnable() 218 | { 219 | m_instance = this; 220 | } 221 | #endregion 222 | 223 | public Object prefabRoot; 224 | public GameObject prefabInstance; 225 | public string previousScenePath; 226 | } 227 | -------------------------------------------------------------------------------- /Assets/PrefabEditor/Editor/PrefabEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ce836b425a1d41d2abab94715bbcf26 3 | timeCreated: 1494663717 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Medias/screen.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remibodin/Unity3D-PrefabEditor/aa545fe895a929efe1119f9de9808ca63d1273d2/Medias/screen.gif -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_DisableAudio: 0 16 | m_VirtualizeEffects: 1 17 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_EnablePCM: 1 18 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 19 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_DefaultBehaviorMode: 0 10 | m_SpritePackerMode: 2 11 | m_SpritePackerPaddingPower: 1 12 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 13 | m_ProjectGenerationRootNamespace: 14 | m_UserGeneratedProjectSuffix: 15 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 9 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0} 39 | m_PreloadedShaders: [] 40 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 41 | type: 0} 42 | m_TierSettings_Tier1: 43 | renderingPath: 1 44 | useCascadedShadowMaps: 1 45 | m_TierSettings_Tier2: 46 | renderingPath: 1 47 | useCascadedShadowMaps: 1 48 | m_TierSettings_Tier3: 49 | renderingPath: 1 50 | useCascadedShadowMaps: 1 51 | m_DefaultRenderingPath: 1 52 | m_DefaultMobileRenderingPath: 1 53 | m_TierSettings: [] 54 | m_LightmapStripping: 0 55 | m_FogStripping: 0 56 | m_LightmapKeepPlain: 1 57 | m_LightmapKeepDirCombined: 1 58 | m_LightmapKeepDirSeparate: 1 59 | m_LightmapKeepDynamicPlain: 1 60 | m_LightmapKeepDynamicDirCombined: 1 61 | m_LightmapKeepDynamicDirSeparate: 1 62 | m_FogKeepLinear: 1 63 | m_FogKeepExp: 1 64 | m_FogKeepExp2: 1 65 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_MinPenetrationForPenalty: 0.01 17 | m_BaumgarteScale: 0.2 18 | m_BaumgarteTimeOfImpactScale: 0.75 19 | m_TimeToSleep: 0.5 20 | m_LinearSleepTolerance: 0.01 21 | m_AngularSleepTolerance: 2 22 | m_QueriesHitTriggers: 1 23 | m_QueriesStartInColliders: 1 24 | m_ChangeStopsCallbacks: 0 25 | m_AlwaysShowColliders: 0 26 | m_ShowColliderSleep: 1 27 | m_ShowColliderContacts: 0 28 | m_ShowColliderAABB: 0 29 | m_ContactArrowScale: 0.2 30 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 31 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 32 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 33 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 34 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 35 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 10 7 | productGUID: 9f3b2535e78f7431488b9cd23a85b70a 8 | AndroidProfiler: 0 9 | defaultScreenOrientation: 4 10 | targetDevice: 2 11 | useOnDemandResources: 0 12 | accelerometerFrequency: 60 13 | companyName: DefaultCompany 14 | productName: UnityProject 15 | defaultCursor: {fileID: 0} 16 | cursorHotspot: {x: 0, y: 0} 17 | m_SplashScreenBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21176471, a: 1} 18 | m_ShowUnitySplashScreen: 1 19 | m_ShowUnitySplashLogo: 1 20 | m_SplashScreenOverlayOpacity: 1 21 | m_SplashScreenAnimation: 1 22 | m_SplashScreenLogoStyle: 1 23 | m_SplashScreenDrawMode: 0 24 | m_SplashScreenBackgroundAnimationZoom: 1 25 | m_SplashScreenLogoAnimationZoom: 1 26 | m_SplashScreenBackgroundLandscapeAspect: 1 27 | m_SplashScreenBackgroundPortraitAspect: 1 28 | m_SplashScreenBackgroundLandscapeUvs: 29 | serializedVersion: 2 30 | x: 0 31 | y: 0 32 | width: 1 33 | height: 1 34 | m_SplashScreenBackgroundPortraitUvs: 35 | serializedVersion: 2 36 | x: 0 37 | y: 0 38 | width: 1 39 | height: 1 40 | m_SplashScreenLogos: [] 41 | m_SplashScreenBackgroundLandscape: {fileID: 0} 42 | m_SplashScreenBackgroundPortrait: {fileID: 0} 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | m_MobileMTRendering: 0 53 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 54 | iosShowActivityIndicatorOnLoading: -1 55 | androidShowActivityIndicatorOnLoading: -1 56 | tizenShowActivityIndicatorOnLoading: -1 57 | iosAppInBackgroundBehavior: 0 58 | displayResolutionDialog: 1 59 | iosAllowHTTPDownload: 1 60 | allowedAutorotateToPortrait: 1 61 | allowedAutorotateToPortraitUpsideDown: 1 62 | allowedAutorotateToLandscapeRight: 1 63 | allowedAutorotateToLandscapeLeft: 1 64 | useOSAutorotation: 1 65 | use32BitDisplayBuffer: 1 66 | disableDepthAndStencilBuffers: 0 67 | defaultIsFullScreen: 1 68 | defaultIsNativeResolution: 1 69 | runInBackground: 0 70 | captureSingleScreen: 0 71 | muteOtherAudioSources: 0 72 | Prepare IOS For Recording: 0 73 | submitAnalytics: 1 74 | usePlayerLog: 1 75 | bakeCollisionMeshes: 0 76 | forceSingleInstance: 0 77 | resizableWindow: 0 78 | useMacAppStoreValidation: 0 79 | gpuSkinning: 0 80 | graphicsJobs: 0 81 | xboxPIXTextureCapture: 0 82 | xboxEnableAvatar: 0 83 | xboxEnableKinect: 0 84 | xboxEnableKinectAutoTracking: 0 85 | xboxEnableFitness: 0 86 | visibleInBackground: 0 87 | allowFullscreenSwitch: 1 88 | graphicsJobMode: 0 89 | macFullscreenMode: 2 90 | d3d9FullscreenMode: 1 91 | d3d11FullscreenMode: 1 92 | xboxSpeechDB: 0 93 | xboxEnableHeadOrientation: 0 94 | xboxEnableGuest: 0 95 | xboxEnablePIXSampling: 0 96 | n3dsDisableStereoscopicView: 0 97 | n3dsEnableSharedListOpt: 1 98 | n3dsEnableVSync: 0 99 | uiUse16BitDepthBuffer: 0 100 | ignoreAlphaClear: 0 101 | xboxOneResolution: 0 102 | xboxOneMonoLoggingLevel: 0 103 | xboxOneLoggingLevel: 1 104 | videoMemoryForVertexBuffers: 0 105 | psp2PowerMode: 0 106 | psp2AcquireBGM: 1 107 | wiiUTVResolution: 0 108 | wiiUGamePadMSAA: 1 109 | wiiUSupportsNunchuk: 0 110 | wiiUSupportsClassicController: 0 111 | wiiUSupportsBalanceBoard: 0 112 | wiiUSupportsMotionPlus: 0 113 | wiiUSupportsProController: 0 114 | wiiUAllowScreenCapture: 1 115 | wiiUControllerCount: 0 116 | m_SupportedAspectRatios: 117 | 4:3: 1 118 | 5:4: 1 119 | 16:10: 1 120 | 16:9: 1 121 | Others: 1 122 | bundleIdentifier: com.Company.ProductName 123 | bundleVersion: 1.0 124 | preloadedAssets: [] 125 | metroInputSource: 0 126 | m_HolographicPauseOnTrackingLoss: 1 127 | xboxOneDisableKinectGpuReservation: 0 128 | protectGraphicsMemory: 0 129 | AndroidBundleVersionCode: 1 130 | AndroidMinSdkVersion: 9 131 | AndroidPreferredInstallLocation: 1 132 | aotOptions: 133 | apiCompatibilityLevel: 2 134 | stripEngineCode: 1 135 | iPhoneStrippingLevel: 0 136 | iPhoneScriptCallOptimization: 0 137 | iPhoneBuildNumber: 0 138 | ForceInternetPermission: 0 139 | ForceSDCardPermission: 0 140 | CreateWallpaper: 0 141 | APKExpansionFiles: 0 142 | preloadShaders: 0 143 | StripUnusedMeshComponents: 0 144 | VertexChannelCompressionMask: 145 | serializedVersion: 2 146 | m_Bits: 238 147 | iPhoneSdkVersion: 988 148 | iOSTargetOSVersionString: 149 | tvOSSdkVersion: 0 150 | tvOSRequireExtendedGameController: 0 151 | tvOSTargetOSVersionString: 152 | uIPrerenderedIcon: 0 153 | uIRequiresPersistentWiFi: 0 154 | uIRequiresFullScreen: 1 155 | uIStatusBarHidden: 1 156 | uIExitOnSuspend: 0 157 | uIStatusBarStyle: 0 158 | iPhoneSplashScreen: {fileID: 0} 159 | iPhoneHighResSplashScreen: {fileID: 0} 160 | iPhoneTallHighResSplashScreen: {fileID: 0} 161 | iPhone47inSplashScreen: {fileID: 0} 162 | iPhone55inPortraitSplashScreen: {fileID: 0} 163 | iPhone55inLandscapeSplashScreen: {fileID: 0} 164 | iPadPortraitSplashScreen: {fileID: 0} 165 | iPadHighResPortraitSplashScreen: {fileID: 0} 166 | iPadLandscapeSplashScreen: {fileID: 0} 167 | iPadHighResLandscapeSplashScreen: {fileID: 0} 168 | appleTVSplashScreen: {fileID: 0} 169 | tvOSSmallIconLayers: [] 170 | tvOSLargeIconLayers: [] 171 | tvOSTopShelfImageLayers: [] 172 | tvOSTopShelfImageWideLayers: [] 173 | iOSLaunchScreenType: 0 174 | iOSLaunchScreenPortrait: {fileID: 0} 175 | iOSLaunchScreenLandscape: {fileID: 0} 176 | iOSLaunchScreenBackgroundColor: 177 | serializedVersion: 2 178 | rgba: 0 179 | iOSLaunchScreenFillPct: 100 180 | iOSLaunchScreenSize: 100 181 | iOSLaunchScreenCustomXibPath: 182 | iOSLaunchScreeniPadType: 0 183 | iOSLaunchScreeniPadImage: {fileID: 0} 184 | iOSLaunchScreeniPadBackgroundColor: 185 | serializedVersion: 2 186 | rgba: 0 187 | iOSLaunchScreeniPadFillPct: 100 188 | iOSLaunchScreeniPadSize: 100 189 | iOSLaunchScreeniPadCustomXibPath: 190 | iOSDeviceRequirements: [] 191 | iOSURLSchemes: [] 192 | iOSBackgroundModes: 0 193 | iOSMetalForceHardShadows: 0 194 | appleDeveloperTeamID: 195 | iOSManualSigningProvisioningProfileID: 196 | tvOSManualSigningProvisioningProfileID: 197 | appleEnableAutomaticSigning: 0 198 | AndroidTargetDevice: 0 199 | AndroidSplashScreenScale: 0 200 | androidSplashScreen: {fileID: 0} 201 | AndroidKeystoreName: 202 | AndroidKeyaliasName: 203 | AndroidTVCompatibility: 1 204 | AndroidIsGame: 1 205 | androidEnableBanner: 1 206 | m_AndroidBanners: 207 | - width: 320 208 | height: 180 209 | banner: {fileID: 0} 210 | androidGamepadSupportLevel: 0 211 | resolutionDialogBanner: {fileID: 0} 212 | m_BuildTargetIcons: [] 213 | m_BuildTargetBatching: [] 214 | m_BuildTargetGraphicsAPIs: [] 215 | m_BuildTargetVRSettings: [] 216 | openGLRequireES31: 0 217 | openGLRequireES31AEP: 0 218 | webPlayerTemplate: APPLICATION:Default 219 | m_TemplateCustomTags: {} 220 | wiiUTitleID: 0005000011000000 221 | wiiUGroupID: 00010000 222 | wiiUCommonSaveSize: 4096 223 | wiiUAccountSaveSize: 2048 224 | wiiUOlvAccessKey: 0 225 | wiiUTinCode: 0 226 | wiiUJoinGameId: 0 227 | wiiUJoinGameModeMask: 0000000000000000 228 | wiiUCommonBossSize: 0 229 | wiiUAccountBossSize: 0 230 | wiiUAddOnUniqueIDs: [] 231 | wiiUMainThreadStackSize: 3072 232 | wiiULoaderThreadStackSize: 1024 233 | wiiUSystemHeapSize: 128 234 | wiiUTVStartupScreen: {fileID: 0} 235 | wiiUGamePadStartupScreen: {fileID: 0} 236 | wiiUDrcBufferDisabled: 0 237 | wiiUProfilerLibPath: 238 | actionOnDotNetUnhandledException: 1 239 | enableInternalProfiler: 0 240 | logObjCUncaughtExceptions: 1 241 | enableCrashReportAPI: 0 242 | cameraUsageDescription: 243 | locationUsageDescription: 244 | microphoneUsageDescription: 245 | XboxTitleId: 246 | XboxImageXexPath: 247 | XboxSpaPath: 248 | XboxGenerateSpa: 0 249 | XboxDeployKinectResources: 0 250 | XboxSplashScreen: {fileID: 0} 251 | xboxEnableSpeech: 0 252 | xboxAdditionalTitleMemorySize: 0 253 | xboxDeployKinectHeadOrientation: 0 254 | xboxDeployKinectHeadPosition: 0 255 | ps4NPAgeRating: 12 256 | ps4NPTitleSecret: 257 | ps4NPTrophyPackPath: 258 | ps4ParentalLevel: 1 259 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 260 | ps4Category: 0 261 | ps4MasterVersion: 01.00 262 | ps4AppVersion: 01.00 263 | ps4AppType: 0 264 | ps4ParamSfxPath: 265 | ps4VideoOutPixelFormat: 0 266 | ps4VideoOutInitialWidth: 1920 267 | ps4VideoOutBaseModeInitialWidth: 1920 268 | ps4VideoOutReprojectionRate: 120 269 | ps4PronunciationXMLPath: 270 | ps4PronunciationSIGPath: 271 | ps4BackgroundImagePath: 272 | ps4StartupImagePath: 273 | ps4SaveDataImagePath: 274 | ps4SdkOverride: 275 | ps4BGMPath: 276 | ps4ShareFilePath: 277 | ps4ShareOverlayImagePath: 278 | ps4PrivacyGuardImagePath: 279 | ps4NPtitleDatPath: 280 | ps4RemotePlayKeyAssignment: -1 281 | ps4RemotePlayKeyMappingDir: 282 | ps4PlayTogetherPlayerCount: 0 283 | ps4EnterButtonAssignment: 1 284 | ps4ApplicationParam1: 0 285 | ps4ApplicationParam2: 0 286 | ps4ApplicationParam3: 0 287 | ps4ApplicationParam4: 0 288 | ps4DownloadDataSize: 0 289 | ps4GarlicHeapSize: 2048 290 | ps4ProGarlicHeapSize: 2560 291 | ps4Passcode: YEWOfZCEZuDJ0sLuqKyUlyF8NFpUyVjW 292 | ps4UseDebugIl2cppLibs: 0 293 | ps4pnSessions: 1 294 | ps4pnPresence: 1 295 | ps4pnFriends: 1 296 | ps4pnGameCustomData: 1 297 | playerPrefsSupport: 0 298 | restrictedAudioUsageRights: 0 299 | ps4UseResolutionFallback: 0 300 | ps4ReprojectionSupport: 0 301 | ps4UseAudio3dBackend: 0 302 | ps4SocialScreenEnabled: 0 303 | ps4ScriptOptimizationLevel: 3 304 | ps4Audio3dVirtualSpeakerCount: 14 305 | ps4attribCpuUsage: 0 306 | ps4PatchPkgPath: 307 | ps4PatchLatestPkgPath: 308 | ps4PatchChangeinfoPath: 309 | ps4PatchDayOne: 0 310 | ps4attribUserManagement: 0 311 | ps4attribMoveSupport: 0 312 | ps4attrib3DSupport: 0 313 | ps4attribShareSupport: 0 314 | ps4attribExclusiveVR: 0 315 | ps4disableAutoHideSplash: 0 316 | ps4videoRecordingFeaturesUsed: 0 317 | ps4contentSearchFeaturesUsed: 0 318 | ps4attribEyeToEyeDistanceSettingVR: 0 319 | ps4IncludedModules: [] 320 | monoEnv: 321 | psp2Splashimage: {fileID: 0} 322 | psp2NPTrophyPackPath: 323 | psp2NPSupportGBMorGJP: 0 324 | psp2NPAgeRating: 12 325 | psp2NPTitleDatPath: 326 | psp2NPCommsID: 327 | psp2NPCommunicationsID: 328 | psp2NPCommsPassphrase: 329 | psp2NPCommsSig: 330 | psp2ParamSfxPath: 331 | psp2ManualPath: 332 | psp2LiveAreaGatePath: 333 | psp2LiveAreaBackroundPath: 334 | psp2LiveAreaPath: 335 | psp2LiveAreaTrialPath: 336 | psp2PatchChangeInfoPath: 337 | psp2PatchOriginalPackage: 338 | psp2PackagePassword: hEuNn4bKymdwdypTHny2jB84PwWNRFr6 339 | psp2KeystoneFile: 340 | psp2MemoryExpansionMode: 0 341 | psp2DRMType: 0 342 | psp2StorageType: 0 343 | psp2MediaCapacity: 0 344 | psp2DLCConfigPath: 345 | psp2ThumbnailPath: 346 | psp2BackgroundPath: 347 | psp2SoundPath: 348 | psp2TrophyCommId: 349 | psp2TrophyPackagePath: 350 | psp2PackagedResourcesPath: 351 | psp2SaveDataQuota: 10240 352 | psp2ParentalLevel: 1 353 | psp2ShortTitle: Not Set 354 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF 355 | psp2Category: 0 356 | psp2MasterVersion: 01.00 357 | psp2AppVersion: 01.00 358 | psp2TVBootMode: 0 359 | psp2EnterButtonAssignment: 2 360 | psp2TVDisableEmu: 0 361 | psp2AllowTwitterDialog: 1 362 | psp2Upgradable: 0 363 | psp2HealthWarning: 0 364 | psp2UseLibLocation: 0 365 | psp2InfoBarOnStartup: 0 366 | psp2InfoBarColor: 0 367 | psp2UseDebugIl2cppLibs: 0 368 | psmSplashimage: {fileID: 0} 369 | splashScreenBackgroundSourceLandscape: {fileID: 0} 370 | splashScreenBackgroundSourcePortrait: {fileID: 0} 371 | spritePackerPolicy: 372 | webGLMemorySize: 256 373 | webGLExceptionSupport: 1 374 | webGLDataCaching: 0 375 | webGLDebugSymbols: 0 376 | webGLEmscriptenArgs: 377 | webGLModulesDirectory: 378 | webGLTemplate: APPLICATION:Default 379 | webGLAnalyzeBuildSize: 0 380 | webGLUseEmbeddedResources: 0 381 | webGLUseWasm: 0 382 | webGLCompressionFormat: 1 383 | scriptingDefineSymbols: {} 384 | platformArchitecture: {} 385 | scriptingBackend: {} 386 | incrementalIl2cppBuild: {} 387 | additionalIl2CppArgs: 388 | m_RenderingPath: 1 389 | m_MobileRenderingPath: 1 390 | metroPackageName: UnityProject 391 | metroPackageVersion: 392 | metroCertificatePath: 393 | metroCertificatePassword: 394 | metroCertificateSubject: 395 | metroCertificateIssuer: 396 | metroCertificateNotAfter: 0000000000000000 397 | metroApplicationDescription: UnityProject 398 | wsaImages: {} 399 | metroTileShortName: 400 | metroCommandLineArgsFile: 401 | metroTileShowName: 0 402 | metroMediumTileShowName: 0 403 | metroLargeTileShowName: 0 404 | metroWideTileShowName: 0 405 | metroDefaultTileSize: 1 406 | metroTileForegroundText: 2 407 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 408 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 409 | a: 1} 410 | metroSplashScreenUseBackgroundColor: 0 411 | platformCapabilities: {} 412 | metroFTAName: 413 | metroFTAFileTypes: [] 414 | metroProtocolName: 415 | metroCompilationOverrides: 1 416 | tizenProductDescription: 417 | tizenProductURL: 418 | tizenSigningProfileName: 419 | tizenGPSPermissions: 0 420 | tizenMicrophonePermissions: 0 421 | tizenDeploymentTarget: 422 | tizenDeploymentTargetType: -1 423 | tizenMinOSVersion: 1 424 | n3dsUseExtSaveData: 0 425 | n3dsCompressStaticMem: 1 426 | n3dsExtSaveDataNumber: 0x12345 427 | n3dsStackSize: 131072 428 | n3dsTargetPlatform: 2 429 | n3dsRegion: 7 430 | n3dsMediaSize: 0 431 | n3dsLogoStyle: 3 432 | n3dsTitle: GameName 433 | n3dsProductCode: 434 | n3dsApplicationId: 0xFF3FF 435 | stvDeviceAddress: 436 | stvProductDescription: 437 | stvProductAuthor: 438 | stvProductAuthorEmail: 439 | stvProductLink: 440 | stvProductCategory: 0 441 | XboxOneProductId: 442 | XboxOneUpdateKey: 443 | XboxOneSandboxId: 444 | XboxOneContentId: 445 | XboxOneTitleId: 446 | XboxOneSCId: 447 | XboxOneGameOsOverridePath: 448 | XboxOnePackagingOverridePath: 449 | XboxOneAppManifestOverridePath: 450 | XboxOnePackageEncryption: 0 451 | XboxOnePackageUpdateGranularity: 2 452 | XboxOneDescription: 453 | XboxOneLanguage: 454 | - enus 455 | XboxOneCapability: [] 456 | XboxOneGameRating: {} 457 | XboxOneIsContentPackage: 0 458 | XboxOneEnableGPUVariability: 0 459 | XboxOneSockets: {} 460 | XboxOneSplashScreen: {fileID: 0} 461 | XboxOneAllowedProductIds: [] 462 | XboxOnePersistentLocalStorageSize: 0 463 | vrEditorSettings: {} 464 | cloudServicesEnabled: {} 465 | cloudProjectId: 466 | projectName: 467 | organizationId: 468 | cloudEnabled: 0 469 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.5.3xf1Linux 2 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Fastest 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | blendWeights: 1 21 | textureQuality: 1 22 | anisotropicTextures: 0 23 | antiAliasing: 0 24 | softParticles: 0 25 | softVegetation: 0 26 | realtimeReflectionProbes: 0 27 | billboardsFaceCameraPosition: 0 28 | vSyncCount: 0 29 | lodBias: 0.3 30 | maximumLODLevel: 0 31 | particleRaycastBudget: 4 32 | asyncUploadTimeSlice: 2 33 | asyncUploadBufferSize: 4 34 | excludedTargetPlatforms: [] 35 | - serializedVersion: 2 36 | name: Fast 37 | pixelLightCount: 0 38 | shadows: 0 39 | shadowResolution: 0 40 | shadowProjection: 1 41 | shadowCascades: 1 42 | shadowDistance: 20 43 | shadowNearPlaneOffset: 3 44 | shadowCascade2Split: 0.33333334 45 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 46 | blendWeights: 2 47 | textureQuality: 0 48 | anisotropicTextures: 0 49 | antiAliasing: 0 50 | softParticles: 0 51 | softVegetation: 0 52 | realtimeReflectionProbes: 0 53 | billboardsFaceCameraPosition: 0 54 | vSyncCount: 0 55 | lodBias: 0.4 56 | maximumLODLevel: 0 57 | particleRaycastBudget: 16 58 | asyncUploadTimeSlice: 2 59 | asyncUploadBufferSize: 4 60 | excludedTargetPlatforms: [] 61 | - serializedVersion: 2 62 | name: Simple 63 | pixelLightCount: 1 64 | shadows: 1 65 | shadowResolution: 0 66 | shadowProjection: 1 67 | shadowCascades: 1 68 | shadowDistance: 20 69 | shadowNearPlaneOffset: 3 70 | shadowCascade2Split: 0.33333334 71 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 72 | blendWeights: 2 73 | textureQuality: 0 74 | anisotropicTextures: 1 75 | antiAliasing: 0 76 | softParticles: 0 77 | softVegetation: 0 78 | realtimeReflectionProbes: 0 79 | billboardsFaceCameraPosition: 0 80 | vSyncCount: 1 81 | lodBias: 0.7 82 | maximumLODLevel: 0 83 | particleRaycastBudget: 64 84 | asyncUploadTimeSlice: 2 85 | asyncUploadBufferSize: 4 86 | excludedTargetPlatforms: [] 87 | - serializedVersion: 2 88 | name: Good 89 | pixelLightCount: 2 90 | shadows: 2 91 | shadowResolution: 1 92 | shadowProjection: 1 93 | shadowCascades: 2 94 | shadowDistance: 40 95 | shadowNearPlaneOffset: 3 96 | shadowCascade2Split: 0.33333334 97 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 98 | blendWeights: 2 99 | textureQuality: 0 100 | anisotropicTextures: 1 101 | antiAliasing: 0 102 | softParticles: 0 103 | softVegetation: 1 104 | realtimeReflectionProbes: 1 105 | billboardsFaceCameraPosition: 1 106 | vSyncCount: 1 107 | lodBias: 1 108 | maximumLODLevel: 0 109 | particleRaycastBudget: 256 110 | asyncUploadTimeSlice: 2 111 | asyncUploadBufferSize: 4 112 | excludedTargetPlatforms: [] 113 | - serializedVersion: 2 114 | name: Beautiful 115 | pixelLightCount: 3 116 | shadows: 2 117 | shadowResolution: 2 118 | shadowProjection: 1 119 | shadowCascades: 2 120 | shadowDistance: 70 121 | shadowNearPlaneOffset: 3 122 | shadowCascade2Split: 0.33333334 123 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 124 | blendWeights: 4 125 | textureQuality: 0 126 | anisotropicTextures: 2 127 | antiAliasing: 2 128 | softParticles: 1 129 | softVegetation: 1 130 | realtimeReflectionProbes: 1 131 | billboardsFaceCameraPosition: 1 132 | vSyncCount: 1 133 | lodBias: 1.5 134 | maximumLODLevel: 0 135 | particleRaycastBudget: 1024 136 | asyncUploadTimeSlice: 2 137 | asyncUploadBufferSize: 4 138 | excludedTargetPlatforms: [] 139 | - serializedVersion: 2 140 | name: Fantastic 141 | pixelLightCount: 4 142 | shadows: 2 143 | shadowResolution: 2 144 | shadowProjection: 1 145 | shadowCascades: 4 146 | shadowDistance: 150 147 | shadowNearPlaneOffset: 3 148 | shadowCascade2Split: 0.33333334 149 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 150 | blendWeights: 4 151 | textureQuality: 0 152 | anisotropicTextures: 2 153 | antiAliasing: 2 154 | softParticles: 1 155 | softVegetation: 1 156 | realtimeReflectionProbes: 1 157 | billboardsFaceCameraPosition: 1 158 | vSyncCount: 1 159 | lodBias: 2 160 | maximumLODLevel: 0 161 | particleRaycastBudget: 4096 162 | asyncUploadTimeSlice: 2 163 | asyncUploadBufferSize: 4 164 | excludedTargetPlatforms: [] 165 | m_PerPlatformDefaultQuality: 166 | Android: 2 167 | Nintendo 3DS: 5 168 | PS4: 5 169 | PSM: 5 170 | PSP2: 2 171 | Samsung TV: 2 172 | Standalone: 5 173 | Tizen: 2 174 | Web: 5 175 | WebGL: 3 176 | WiiU: 5 177 | Windows Store Apps: 5 178 | XboxOne: 5 179 | iPhone: 2 180 | tvOS: 5 181 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | CrashReportingSettings: 11 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 12 | m_Enabled: 0 13 | m_CaptureEditorExceptions: 1 14 | UnityPurchasingSettings: 15 | m_Enabled: 0 16 | m_TestMode: 0 17 | UnityAnalyticsSettings: 18 | m_Enabled: 0 19 | m_InitializeOnStartup: 1 20 | m_TestMode: 0 21 | m_TestEventUrl: 22 | m_TestConfigUrl: 23 | UnityAdsSettings: 24 | m_Enabled: 0 25 | m_InitializeOnStartup: 1 26 | m_TestMode: 0 27 | m_EnabledPlatforms: 4294967295 28 | m_IosGameId: 29 | m_AndroidGameId: 30 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Unity3D-PrefabEditor 2 | Plugin unity3D to edit prefabs on separate scene. 3 | 4 | Inspired by [forestrf/prefab-editor](https://bitbucket.org/forestrf/prefab-editor) 5 | 6 | ## Usage 7 | To open prefab editor, double click on a prefab file in project panel. 8 | Current scene is save and a new empty scene with only prefab instance is create. Editor lighting is disable and prefab instance is focus. 9 | To apply modifications juste save this tmp scene (with **Ctrl-S**). 10 | 11 | ## Screens 12 | ![](./Medias/screen.gif) 13 | 14 | --------------------------------------------------------------------------------