changeset 4:2878be4487ec

add Maping Code.
author Kazuma
date Tue, 08 Nov 2016 17:07:48 +0900
parents 2dd40b4412e4
children 12f4f937da7f
files Assets/Application/Scenes/Test.meta Assets/Application/Scenes/Test/ListTest.unity Assets/Application/Scenes/Test/ListTest.unity.meta Assets/Application/Scenes/main.unity Assets/Application/Scripts/CharactorManager.cs Assets/Application/Scripts/ChildObject.cs Assets/Application/Scripts/ChildObject.cs.meta Assets/Application/Scripts/ConvertObject.cs Assets/Application/Scripts/Item.cs Assets/Application/Scripts/Item.cs.meta Assets/Application/Scripts/ParentObject.cs Assets/Application/Scripts/ParentObject.cs.meta Assets/Application/Scripts/Player.cs Assets/Application/Scripts/SaveData.cs Assets/Application/Scripts/StageManager.cs Assets/Application/Scripts/Test.meta Assets/Application/Scripts/Test/SaveDataTest.cs Assets/Application/Scripts/Test/SaveDataTest.cs.meta Assets/Resources/Materials/WOOD.mat obj/Debug/Assembly-CSharp.dll obj/Debug/Assembly-CSharp.dll.mdb
diffstat 21 files changed, 1122 insertions(+), 29 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Assets/Application/Scenes/Test.meta	Tue Nov 08 17:07:48 2016 +0900
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 14d3500e9d28c4cd5aac2b262a232a13
+folderAsset: yes
+timeCreated: 1478517332
+licenseType: Free
+DefaultImporter:
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Assets/Application/Scenes/Test/ListTest.unity	Tue Nov 08 17:07:48 2016 +0900
@@ -0,0 +1,813 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!29 &1
+SceneSettings:
+  m_ObjectHideFlags: 0
+  m_PVSData: 
+  m_PVSObjectsArray: []
+  m_PVSPortalsArray: []
+  m_OcclusionBakeSettings:
+    smallestOccluder: 5
+    smallestHole: 0.25
+    backfaceThreshold: 100
+--- !u!104 &2
+RenderSettings:
+  m_ObjectHideFlags: 0
+  serializedVersion: 7
+  m_Fog: 0
+  m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
+  m_FogMode: 3
+  m_FogDensity: 0.01
+  m_LinearFogStart: 0
+  m_LinearFogEnd: 300
+  m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
+  m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
+  m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
+  m_AmbientIntensity: 1
+  m_AmbientMode: 0
+  m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
+  m_HaloStrength: 0.5
+  m_FlareStrength: 1
+  m_FlareFadeSpeed: 3
+  m_HaloTexture: {fileID: 0}
+  m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
+  m_DefaultReflectionMode: 0
+  m_DefaultReflectionResolution: 128
+  m_ReflectionBounces: 1
+  m_ReflectionIntensity: 1
+  m_CustomReflection: {fileID: 0}
+  m_Sun: {fileID: 0}
+  m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
+--- !u!157 &3
+LightmapSettings:
+  m_ObjectHideFlags: 0
+  serializedVersion: 7
+  m_GIWorkflowMode: 1
+  m_GISettings:
+    serializedVersion: 2
+    m_BounceScale: 1
+    m_IndirectOutputScale: 1
+    m_AlbedoBoost: 1
+    m_TemporalCoherenceThreshold: 1
+    m_EnvironmentLightingMode: 0
+    m_EnableBakedLightmaps: 1
+    m_EnableRealtimeLightmaps: 1
+  m_LightmapEditorSettings:
+    serializedVersion: 4
+    m_Resolution: 2
+    m_BakeResolution: 40
+    m_TextureWidth: 1024
+    m_TextureHeight: 1024
+    m_AO: 0
+    m_AOMaxDistance: 1
+    m_CompAOExponent: 1
+    m_CompAOExponentDirect: 0
+    m_Padding: 2
+    m_LightmapParameters: {fileID: 0}
+    m_LightmapsBakeMode: 1
+    m_TextureCompression: 1
+    m_DirectLightInLightProbes: 1
+    m_FinalGather: 0
+    m_FinalGatherFiltering: 1
+    m_FinalGatherRayCount: 256
+    m_ReflectionCompression: 2
+  m_LightingDataAsset: {fileID: 0}
+  m_RuntimeCPUUsage: 25
+--- !u!196 &4
+NavMeshSettings:
+  serializedVersion: 2
+  m_ObjectHideFlags: 0
+  m_BuildSettings:
+    serializedVersion: 2
+    agentRadius: 0.5
+    agentHeight: 2
+    agentSlope: 45
+    agentClimb: 0.4
+    ledgeDropHeight: 0
+    maxJumpAcrossDistance: 0
+    accuratePlacement: 0
+    minRegionArea: 2
+    cellSize: 0.16666667
+    manualCellSize: 0
+  m_NavMeshData: {fileID: 0}
+--- !u!1 &30016397
+GameObject:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  serializedVersion: 4
+  m_Component:
+  - 4: {fileID: 30016398}
+  - 33: {fileID: 30016401}
+  - 65: {fileID: 30016400}
+  - 23: {fileID: 30016399}
+  m_Layer: 0
+  m_Name: Cube
+  m_TagString: Untagged
+  m_Icon: {fileID: 0}
+  m_NavMeshLayer: 0
+  m_StaticEditorFlags: 0
+  m_IsActive: 1
+--- !u!4 &30016398
+Transform:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 30016397}
+  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+  m_LocalPosition: {x: 3.9716492, y: 0.31454647, z: 5.73}
+  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+  m_Children:
+  - {fileID: 1297729740}
+  - {fileID: 1309709338}
+  m_Father: {fileID: 0}
+  m_RootOrder: 4
+--- !u!23 &30016399
+MeshRenderer:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 30016397}
+  m_Enabled: 1
+  m_CastShadows: 1
+  m_ReceiveShadows: 1
+  m_MotionVectors: 1
+  m_LightProbeUsage: 1
+  m_ReflectionProbeUsage: 1
+  m_Materials:
+  - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
+  m_SubsetIndices: 
+  m_StaticBatchRoot: {fileID: 0}
+  m_ProbeAnchor: {fileID: 0}
+  m_LightProbeVolumeOverride: {fileID: 0}
+  m_ScaleInLightmap: 1
+  m_PreserveUVs: 1
+  m_IgnoreNormalsForChartDetection: 0
+  m_ImportantGI: 0
+  m_SelectedWireframeHidden: 0
+  m_MinimumChartSize: 4
+  m_AutoUVMaxDistance: 0.5
+  m_AutoUVMaxAngle: 89
+  m_LightmapParameters: {fileID: 0}
+  m_SortingLayerID: 0
+  m_SortingOrder: 0
+--- !u!65 &30016400
+BoxCollider:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 30016397}
+  m_Material: {fileID: 0}
+  m_IsTrigger: 0
+  m_Enabled: 1
+  serializedVersion: 2
+  m_Size: {x: 1, y: 1, z: 1}
+  m_Center: {x: 0, y: 0, z: 0}
+--- !u!33 &30016401
+MeshFilter:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 30016397}
+  m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!1 &54125410
+GameObject:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  serializedVersion: 4
+  m_Component:
+  - 4: {fileID: 54125412}
+  - 114: {fileID: 54125411}
+  m_Layer: 0
+  m_Name: Save
+  m_TagString: Untagged
+  m_Icon: {fileID: 0}
+  m_NavMeshLayer: 0
+  m_StaticEditorFlags: 0
+  m_IsActive: 1
+--- !u!114 &54125411
+MonoBehaviour:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 54125410}
+  m_Enabled: 1
+  m_EditorHideFlags: 0
+  m_Script: {fileID: 11500000, guid: 13c905b30e8904afeb6af0ada5e3f8ba, type: 3}
+  m_Name: 
+  m_EditorClassIdentifier: 
+  co: {fileID: 1474877448}
+--- !u!4 &54125412
+Transform:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 54125410}
+  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+  m_LocalPosition: {x: 3.9716492, y: 0.31454647, z: 4.9553347}
+  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+  m_Children: []
+  m_Father: {fileID: 0}
+  m_RootOrder: 3
+--- !u!1 &813070239
+GameObject:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  serializedVersion: 4
+  m_Component:
+  - 4: {fileID: 813070240}
+  - 33: {fileID: 813070243}
+  - 65: {fileID: 813070242}
+  - 23: {fileID: 813070241}
+  m_Layer: 0
+  m_Name: child (2)
+  m_TagString: Untagged
+  m_Icon: {fileID: 0}
+  m_NavMeshLayer: 0
+  m_StaticEditorFlags: 0
+  m_IsActive: 1
+--- !u!4 &813070240
+Transform:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 813070239}
+  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+  m_LocalPosition: {x: 0, y: -1.67, z: -1.6}
+  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+  m_Children: []
+  m_Father: {fileID: 2076125640}
+  m_RootOrder: 1
+--- !u!23 &813070241
+MeshRenderer:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 813070239}
+  m_Enabled: 1
+  m_CastShadows: 1
+  m_ReceiveShadows: 1
+  m_MotionVectors: 1
+  m_LightProbeUsage: 1
+  m_ReflectionProbeUsage: 1
+  m_Materials:
+  - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
+  m_SubsetIndices: 
+  m_StaticBatchRoot: {fileID: 0}
+  m_ProbeAnchor: {fileID: 0}
+  m_LightProbeVolumeOverride: {fileID: 0}
+  m_ScaleInLightmap: 1
+  m_PreserveUVs: 1
+  m_IgnoreNormalsForChartDetection: 0
+  m_ImportantGI: 0
+  m_SelectedWireframeHidden: 0
+  m_MinimumChartSize: 4
+  m_AutoUVMaxDistance: 0.5
+  m_AutoUVMaxAngle: 89
+  m_LightmapParameters: {fileID: 0}
+  m_SortingLayerID: 0
+  m_SortingOrder: 0
+--- !u!65 &813070242
+BoxCollider:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 813070239}
+  m_Material: {fileID: 0}
+  m_IsTrigger: 0
+  m_Enabled: 1
+  serializedVersion: 2
+  m_Size: {x: 1, y: 1, z: 1}
+  m_Center: {x: 0, y: 0, z: 0}
+--- !u!33 &813070243
+MeshFilter:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 813070239}
+  m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!1 &950973495
+GameObject:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  serializedVersion: 4
+  m_Component:
+  - 4: {fileID: 950973500}
+  - 20: {fileID: 950973499}
+  - 92: {fileID: 950973498}
+  - 124: {fileID: 950973497}
+  - 81: {fileID: 950973496}
+  m_Layer: 0
+  m_Name: Main Camera
+  m_TagString: MainCamera
+  m_Icon: {fileID: 0}
+  m_NavMeshLayer: 0
+  m_StaticEditorFlags: 0
+  m_IsActive: 1
+--- !u!81 &950973496
+AudioListener:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 950973495}
+  m_Enabled: 1
+--- !u!124 &950973497
+Behaviour:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 950973495}
+  m_Enabled: 1
+--- !u!92 &950973498
+Behaviour:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 950973495}
+  m_Enabled: 1
+--- !u!20 &950973499
+Camera:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 950973495}
+  m_Enabled: 1
+  serializedVersion: 2
+  m_ClearFlags: 1
+  m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
+  m_NormalizedViewPortRect:
+    serializedVersion: 2
+    x: 0
+    y: 0
+    width: 1
+    height: 1
+  near clip plane: 0.3
+  far clip plane: 1000
+  field of view: 60
+  orthographic: 0
+  orthographic size: 5
+  m_Depth: -1
+  m_CullingMask:
+    serializedVersion: 2
+    m_Bits: 4294967295
+  m_RenderingPath: -1
+  m_TargetTexture: {fileID: 0}
+  m_TargetDisplay: 0
+  m_TargetEye: 3
+  m_HDR: 0
+  m_OcclusionCulling: 1
+  m_StereoConvergence: 10
+  m_StereoSeparation: 0.022
+  m_StereoMirrorMode: 0
+--- !u!4 &950973500
+Transform:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 950973495}
+  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+  m_LocalPosition: {x: 0, y: 1, z: -10}
+  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+  m_Children: []
+  m_Father: {fileID: 0}
+  m_RootOrder: 0
+--- !u!1 &1211145712
+GameObject:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  serializedVersion: 4
+  m_Component:
+  - 4: {fileID: 1211145713}
+  - 33: {fileID: 1211145716}
+  - 65: {fileID: 1211145715}
+  - 23: {fileID: 1211145714}
+  m_Layer: 0
+  m_Name: child
+  m_TagString: Untagged
+  m_Icon: {fileID: 0}
+  m_NavMeshLayer: 0
+  m_StaticEditorFlags: 0
+  m_IsActive: 1
+--- !u!4 &1211145713
+Transform:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1211145712}
+  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+  m_LocalPosition: {x: 0, y: -1.67, z: 1.08}
+  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+  m_Children: []
+  m_Father: {fileID: 2076125640}
+  m_RootOrder: 0
+--- !u!23 &1211145714
+MeshRenderer:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1211145712}
+  m_Enabled: 1
+  m_CastShadows: 1
+  m_ReceiveShadows: 1
+  m_MotionVectors: 1
+  m_LightProbeUsage: 1
+  m_ReflectionProbeUsage: 1
+  m_Materials:
+  - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
+  m_SubsetIndices: 
+  m_StaticBatchRoot: {fileID: 0}
+  m_ProbeAnchor: {fileID: 0}
+  m_LightProbeVolumeOverride: {fileID: 0}
+  m_ScaleInLightmap: 1
+  m_PreserveUVs: 1
+  m_IgnoreNormalsForChartDetection: 0
+  m_ImportantGI: 0
+  m_SelectedWireframeHidden: 0
+  m_MinimumChartSize: 4
+  m_AutoUVMaxDistance: 0.5
+  m_AutoUVMaxAngle: 89
+  m_LightmapParameters: {fileID: 0}
+  m_SortingLayerID: 0
+  m_SortingOrder: 0
+--- !u!65 &1211145715
+BoxCollider:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1211145712}
+  m_Material: {fileID: 0}
+  m_IsTrigger: 0
+  m_Enabled: 1
+  serializedVersion: 2
+  m_Size: {x: 1, y: 1, z: 1}
+  m_Center: {x: 0, y: 0, z: 0}
+--- !u!33 &1211145716
+MeshFilter:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1211145712}
+  m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!1 &1297729739
+GameObject:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  serializedVersion: 4
+  m_Component:
+  - 4: {fileID: 1297729740}
+  - 33: {fileID: 1297729743}
+  - 65: {fileID: 1297729742}
+  - 23: {fileID: 1297729741}
+  m_Layer: 0
+  m_Name: child
+  m_TagString: Untagged
+  m_Icon: {fileID: 0}
+  m_NavMeshLayer: 0
+  m_StaticEditorFlags: 0
+  m_IsActive: 1
+--- !u!4 &1297729740
+Transform:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1297729739}
+  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+  m_LocalPosition: {x: 0, y: -1.67, z: 1.08}
+  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+  m_Children: []
+  m_Father: {fileID: 30016398}
+  m_RootOrder: 0
+--- !u!23 &1297729741
+MeshRenderer:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1297729739}
+  m_Enabled: 1
+  m_CastShadows: 1
+  m_ReceiveShadows: 1
+  m_MotionVectors: 1
+  m_LightProbeUsage: 1
+  m_ReflectionProbeUsage: 1
+  m_Materials:
+  - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
+  m_SubsetIndices: 
+  m_StaticBatchRoot: {fileID: 0}
+  m_ProbeAnchor: {fileID: 0}
+  m_LightProbeVolumeOverride: {fileID: 0}
+  m_ScaleInLightmap: 1
+  m_PreserveUVs: 1
+  m_IgnoreNormalsForChartDetection: 0
+  m_ImportantGI: 0
+  m_SelectedWireframeHidden: 0
+  m_MinimumChartSize: 4
+  m_AutoUVMaxDistance: 0.5
+  m_AutoUVMaxAngle: 89
+  m_LightmapParameters: {fileID: 0}
+  m_SortingLayerID: 0
+  m_SortingOrder: 0
+--- !u!65 &1297729742
+BoxCollider:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1297729739}
+  m_Material: {fileID: 0}
+  m_IsTrigger: 0
+  m_Enabled: 1
+  serializedVersion: 2
+  m_Size: {x: 1, y: 1, z: 1}
+  m_Center: {x: 0, y: 0, z: 0}
+--- !u!33 &1297729743
+MeshFilter:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1297729739}
+  m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!1 &1309709337
+GameObject:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  serializedVersion: 4
+  m_Component:
+  - 4: {fileID: 1309709338}
+  - 33: {fileID: 1309709341}
+  - 65: {fileID: 1309709340}
+  - 23: {fileID: 1309709339}
+  m_Layer: 0
+  m_Name: child (1)
+  m_TagString: Untagged
+  m_Icon: {fileID: 0}
+  m_NavMeshLayer: 0
+  m_StaticEditorFlags: 0
+  m_IsActive: 1
+--- !u!4 &1309709338
+Transform:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1309709337}
+  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+  m_LocalPosition: {x: 0, y: -1.67, z: -1.02}
+  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+  m_Children: []
+  m_Father: {fileID: 30016398}
+  m_RootOrder: 1
+--- !u!23 &1309709339
+MeshRenderer:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1309709337}
+  m_Enabled: 1
+  m_CastShadows: 1
+  m_ReceiveShadows: 1
+  m_MotionVectors: 1
+  m_LightProbeUsage: 1
+  m_ReflectionProbeUsage: 1
+  m_Materials:
+  - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
+  m_SubsetIndices: 
+  m_StaticBatchRoot: {fileID: 0}
+  m_ProbeAnchor: {fileID: 0}
+  m_LightProbeVolumeOverride: {fileID: 0}
+  m_ScaleInLightmap: 1
+  m_PreserveUVs: 1
+  m_IgnoreNormalsForChartDetection: 0
+  m_ImportantGI: 0
+  m_SelectedWireframeHidden: 0
+  m_MinimumChartSize: 4
+  m_AutoUVMaxDistance: 0.5
+  m_AutoUVMaxAngle: 89
+  m_LightmapParameters: {fileID: 0}
+  m_SortingLayerID: 0
+  m_SortingOrder: 0
+--- !u!65 &1309709340
+BoxCollider:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1309709337}
+  m_Material: {fileID: 0}
+  m_IsTrigger: 0
+  m_Enabled: 1
+  serializedVersion: 2
+  m_Size: {x: 1, y: 1, z: 1}
+  m_Center: {x: 0, y: 0, z: 0}
+--- !u!33 &1309709341
+MeshFilter:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1309709337}
+  m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!1 &1375432743
+GameObject:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  serializedVersion: 4
+  m_Component:
+  - 4: {fileID: 1375432745}
+  - 108: {fileID: 1375432744}
+  m_Layer: 0
+  m_Name: Directional Light
+  m_TagString: Untagged
+  m_Icon: {fileID: 0}
+  m_NavMeshLayer: 0
+  m_StaticEditorFlags: 0
+  m_IsActive: 1
+--- !u!108 &1375432744
+Light:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1375432743}
+  m_Enabled: 1
+  serializedVersion: 7
+  m_Type: 1
+  m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
+  m_Intensity: 1
+  m_Range: 10
+  m_SpotAngle: 30
+  m_CookieSize: 10
+  m_Shadows:
+    m_Type: 2
+    m_Resolution: -1
+    m_CustomResolution: -1
+    m_Strength: 1
+    m_Bias: 0.05
+    m_NormalBias: 0.4
+    m_NearPlane: 0.2
+  m_Cookie: {fileID: 0}
+  m_DrawHalo: 0
+  m_Flare: {fileID: 0}
+  m_RenderMode: 0
+  m_CullingMask:
+    serializedVersion: 2
+    m_Bits: 4294967295
+  m_Lightmapping: 4
+  m_AreaSize: {x: 1, y: 1}
+  m_BounceIntensity: 1
+  m_ShadowRadius: 0
+  m_ShadowAngle: 0
+--- !u!4 &1375432745
+Transform:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1375432743}
+  m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
+  m_LocalPosition: {x: 0, y: 3, z: 0}
+  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
+  m_Children: []
+  m_Father: {fileID: 0}
+  m_RootOrder: 1
+--- !u!1 &1474877445
+GameObject:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  serializedVersion: 4
+  m_Component:
+  - 4: {fileID: 1474877447}
+  - 114: {fileID: 1474877446}
+  - 114: {fileID: 1474877448}
+  m_Layer: 0
+  m_Name: Data
+  m_TagString: Untagged
+  m_Icon: {fileID: 0}
+  m_NavMeshLayer: 0
+  m_StaticEditorFlags: 0
+  m_IsActive: 1
+--- !u!114 &1474877446
+MonoBehaviour:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1474877445}
+  m_Enabled: 1
+  m_EditorHideFlags: 0
+  m_Script: {fileID: 11500000, guid: 5fe67c0be5a6542adaf154ae46643dee, type: 3}
+  m_Name: 
+  m_EditorClassIdentifier: 
+--- !u!4 &1474877447
+Transform:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1474877445}
+  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+  m_LocalPosition: {x: 3.9716492, y: 0.31454647, z: 4.9553347}
+  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+  m_Children: []
+  m_Father: {fileID: 0}
+  m_RootOrder: 2
+--- !u!114 &1474877448
+MonoBehaviour:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 1474877445}
+  m_Enabled: 1
+  m_EditorHideFlags: 0
+  m_Script: {fileID: 11500000, guid: f7fd35791c1034f51871065c4525e4a9, type: 3}
+  m_Name: 
+  m_EditorClassIdentifier: 
+--- !u!1 &2076125639
+GameObject:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  serializedVersion: 4
+  m_Component:
+  - 4: {fileID: 2076125640}
+  - 33: {fileID: 2076125643}
+  - 65: {fileID: 2076125642}
+  - 23: {fileID: 2076125641}
+  m_Layer: 0
+  m_Name: Cube (1)
+  m_TagString: Untagged
+  m_Icon: {fileID: 0}
+  m_NavMeshLayer: 0
+  m_StaticEditorFlags: 0
+  m_IsActive: 1
+--- !u!4 &2076125640
+Transform:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 2076125639}
+  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+  m_LocalPosition: {x: 3.9716492, y: 0.31454647, z: 1.56}
+  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+  m_Children:
+  - {fileID: 1211145713}
+  - {fileID: 813070240}
+  m_Father: {fileID: 0}
+  m_RootOrder: 5
+--- !u!23 &2076125641
+MeshRenderer:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 2076125639}
+  m_Enabled: 1
+  m_CastShadows: 1
+  m_ReceiveShadows: 1
+  m_MotionVectors: 1
+  m_LightProbeUsage: 1
+  m_ReflectionProbeUsage: 1
+  m_Materials:
+  - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
+  m_SubsetIndices: 
+  m_StaticBatchRoot: {fileID: 0}
+  m_ProbeAnchor: {fileID: 0}
+  m_LightProbeVolumeOverride: {fileID: 0}
+  m_ScaleInLightmap: 1
+  m_PreserveUVs: 1
+  m_IgnoreNormalsForChartDetection: 0
+  m_ImportantGI: 0
+  m_SelectedWireframeHidden: 0
+  m_MinimumChartSize: 4
+  m_AutoUVMaxDistance: 0.5
+  m_AutoUVMaxAngle: 89
+  m_LightmapParameters: {fileID: 0}
+  m_SortingLayerID: 0
+  m_SortingOrder: 0
+--- !u!65 &2076125642
+BoxCollider:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 2076125639}
+  m_Material: {fileID: 0}
+  m_IsTrigger: 0
+  m_Enabled: 1
+  serializedVersion: 2
+  m_Size: {x: 1, y: 1, z: 1}
+  m_Center: {x: 0, y: 0, z: 0}
+--- !u!33 &2076125643
+MeshFilter:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 2076125639}
+  m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Assets/Application/Scenes/Test/ListTest.unity.meta	Tue Nov 08 17:07:48 2016 +0900
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: bcc16e41faaec4ae48e29eb4ffc62ac3
+timeCreated: 1478517340
+licenseType: Free
+DefaultImporter:
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 
--- a/Assets/Application/Scenes/main.unity	Mon Nov 07 18:42:01 2016 +0900
+++ b/Assets/Application/Scenes/main.unity	Tue Nov 08 17:07:48 2016 +0900
@@ -275,7 +275,7 @@
   - 143: {fileID: 231100514}
   m_Layer: 0
   m_Name: Player(Head)
-  m_TagString: Untagged
+  m_TagString: Player
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
@@ -292,7 +292,7 @@
   m_Name: 
   m_EditorClassIdentifier: 
   LookedObject: {fileID: 0}
-  HaveObjectNumber: 0
+  HaveObjectType: 0
   GlassItem: 0
   SandItem: 0
   WoodItem: 0
@@ -336,6 +336,7 @@
   serializedVersion: 4
   m_Component:
   - 4: {fileID: 522007008}
+  - 114: {fileID: 522007009}
   m_Layer: 0
   m_Name: StageData
   m_TagString: Untagged
@@ -356,6 +357,17 @@
   m_Children: []
   m_Father: {fileID: 0}
   m_RootOrder: 5
+--- !u!114 &522007009
+MonoBehaviour:
+  m_ObjectHideFlags: 0
+  m_PrefabParentObject: {fileID: 0}
+  m_PrefabInternal: {fileID: 0}
+  m_GameObject: {fileID: 522007007}
+  m_Enabled: 1
+  m_EditorHideFlags: 0
+  m_Script: {fileID: 11500000, guid: 5fe67c0be5a6542adaf154ae46643dee, type: 3}
+  m_Name: 
+  m_EditorClassIdentifier: 
 --- !u!1 &604139488
 GameObject:
   m_ObjectHideFlags: 0
@@ -1024,8 +1036,6 @@
   m_Script: {fileID: 11500000, guid: e1238ba20cbdc4a1bb8248ff98c1a185, type: 3}
   m_Name: 
   m_EditorClassIdentifier: 
-  stages: []
-  StageData: []
 --- !u!4 &2000853427
 Transform:
   m_ObjectHideFlags: 0
--- a/Assets/Application/Scripts/CharactorManager.cs	Mon Nov 07 18:42:01 2016 +0900
+++ b/Assets/Application/Scripts/CharactorManager.cs	Tue Nov 08 17:07:48 2016 +0900
@@ -16,7 +16,7 @@
 	}
 
 	public void PlayerController () {
-		Player.Instance.Move (Input.GetKey(KeyCode.S));
+		Player.Instance.Move (Input.GetKey(KeyCode.P));
 		Player.Instance.EyeMove (new Vector3 (InputManager.Instance.InputX, InputManager.Instance.InputZ, 0));
 		if (Input.GetKeyDown (KeyCode.Space)) {
 			Player.Instance.GetItem ();
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Assets/Application/Scripts/ChildObject.cs	Tue Nov 08 17:07:48 2016 +0900
@@ -0,0 +1,25 @@
+using UnityEngine;
+using System.Collections;
+using System.Collections.Generic;
+
+public class ChildObject : MonoBehaviour {
+
+	public ParentObject Parent;
+	public GameObject Value;
+	public NodePath Path;
+	public Dictionary<string, Component> dic = new Dictionary<string, Component>();
+
+	public ChildObject (ParentObject parent, GameObject value, NodePath path) {
+		this.Parent = parent;
+		this.Value = value;
+		this.Path = path;
+	}
+
+	public void GetComponent () {
+		Component[] comps = this.Value.GetComponents<Component>();
+		foreach (Component component in comps) {
+			Debug.Log(component.GetType().ToString());
+			dic.Add (component.GetType().ToString(), component);
+		}
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Assets/Application/Scripts/ChildObject.cs.meta	Tue Nov 08 17:07:48 2016 +0900
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 2ef61e4e590984e4795981e606e77db5
+timeCreated: 1478587815
+licenseType: Free
+MonoImporter:
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 
--- a/Assets/Application/Scripts/ConvertObject.cs	Mon Nov 07 18:42:01 2016 +0900
+++ b/Assets/Application/Scripts/ConvertObject.cs	Tue Nov 08 17:07:48 2016 +0900
@@ -3,15 +3,15 @@
 using System;
 using System.Runtime.Serialization.Formatters.Binary;
 using System.IO;
+[Serializable]
 public class ConvertObject : MonoBehaviour {
 
 	public static byte[] Convert (object target) {
 		BinaryFormatter bf = new BinaryFormatter();
-		using (var ms = new MemoryStream())
-		{
-			bf.Serialize(ms, target);
-			return ms.ToArray();
-		}
+		MemoryStream ms = new MemoryStream();
+		bf.Serialize(ms, target);
+		byte[] myByteArray = ms.ToArray();
+		return myByteArray;
 	}
 
 	public static object UnConvert(byte[] target) {
@@ -20,7 +20,8 @@
 			var binForm = new BinaryFormatter();
 			memStream.Write(target, 0, target.Length);
 			memStream.Seek(0, SeekOrigin.Begin);
-			return binForm.Deserialize(memStream) as object;
+			var obj = binForm.Deserialize(memStream);
+			return obj;
 		}
 	}
 }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Assets/Application/Scripts/Item.cs	Tue Nov 08 17:07:48 2016 +0900
@@ -0,0 +1,12 @@
+using UnityEngine;
+using System.Collections;
+
+public class Item : MonoBehaviour {
+
+	public Stage.Type Attribute;
+	public int ID = 0;
+
+	public void SetHaveObject () {
+		Player.Instance.SetHaveObjectNumber (Attribute);
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Assets/Application/Scripts/Item.cs.meta	Tue Nov 08 17:07:48 2016 +0900
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 11f234c01c0fd473c8a707e31a51def2
+timeCreated: 1478504114
+licenseType: Free
+MonoImporter:
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Assets/Application/Scripts/ParentObject.cs	Tue Nov 08 17:07:48 2016 +0900
@@ -0,0 +1,33 @@
+using UnityEngine;
+using System.Collections;
+using System.Collections.Generic;
+public class ParentObject : MonoBehaviour {
+
+	public GameObject Value;
+	public NodePath Path;
+	public Dictionary<string, Component> dic = new Dictionary<string, Component>();
+
+	public ParentObject (GameObject value, NodePath path) {
+		this.Value = value;
+		this.Path = path;
+		GetComponent ();
+		Logs ();
+	}
+
+	public void GetComponent () {
+		Component[] comps = this.Value.GetComponents<Component>();
+		foreach (Component component in comps) {
+			Debug.Log(component.GetType().ToString());
+			dic.Add (component.GetType().ToString(), component);
+		}
+	}
+
+	public void Logs () {
+		string s = "<";
+		foreach (int num in Path) {
+			s += num + ",";
+		}
+		s += ">";
+		print (s);
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Assets/Application/Scripts/ParentObject.cs.meta	Tue Nov 08 17:07:48 2016 +0900
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 977fdfa4a9f894f42a675c4f6542c04b
+timeCreated: 1478588350
+licenseType: Free
+MonoImporter:
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 
--- a/Assets/Application/Scripts/Player.cs	Mon Nov 07 18:42:01 2016 +0900
+++ b/Assets/Application/Scripts/Player.cs	Tue Nov 08 17:07:48 2016 +0900
@@ -11,13 +11,13 @@
 	// 今見ているフィールドのアイテム
 	public GameObject LookedObject;
 	// セットする前のアイテム
-	public int HaveObjectNumber;
+	public Stage.Type HaveObjectType;
 
 	public int GlassItem = 0;
 	public int SandItem = 0;
 	public int WoodItem = 0;
 
-	public System.Collections.Generic.List<Stage> HaveItemList = new System.Collections.Generic.List<Stage>();
+	public System.Collections.Generic.List<string> HaveItemList = new System.Collections.Generic.List<string>();
 
 	public delegate void Callback(int n0, int n1, int n2);
 	public Callback callback;
@@ -37,7 +37,7 @@
 
 	public void Move (bool b) {
 		if (b) {
-			Direction += this.transform.forward * Time.deltaTime;
+			Direction += this.transform.forward * Time.deltaTime / 10f;
 		} else {
 			Direction.x = 0;
 			Direction.z = 0;
@@ -58,14 +58,14 @@
 		LookedObject = obj;
 	}
 
-	public void SetHaveObjectNumber (int num) {
-		HaveObjectNumber = num;
+	public void SetHaveObjectNumber (Stage.Type type) {
+		HaveObjectType = type;
 	}
 
 	public void GetItem () {
 		if (LookedObject != null) {
 			Stage stage = LookedObject.GetComponent<Stage> ();
-			HaveItemList.Add (stage);
+			HaveItemList.Add (stage.Attribute.ToString());
 			CheckList ();
 			stage.Delete ();
 		}
@@ -73,7 +73,8 @@
 
 	public void SetItem () {
 		if (LookedObject != null) {
-			StageManager.Instance.CreateStage (HaveObjectNumber, new Vector3 (LookedObject.transform.position.x, LookedObject.transform.position.y + 1f, LookedObject.transform.position.z));
+			StageManager.Instance.CreateStage (HaveObjectType, new Vector3 (LookedObject.transform.position.x, LookedObject.transform.position.y + 1f, LookedObject.transform.position.z));
+			HaveItemList.Remove (HaveObjectType.ToString ());
 			CheckList ();
 		}
 	}
@@ -83,11 +84,11 @@
 		int w = 0;
 		int s = 0;
 		foreach (var item in HaveItemList) {
-			if (Stage.Type.GRASS == item.Attribute) {
+			if (Stage.Type.GRASS.ToString() == item) {
 				g++;
-			} else if (Stage.Type.SAND == item.Attribute) {
+			} else if (Stage.Type.SAND.ToString() == item) {
 				s++;
-			} else if (Stage.Type.WOOD == item.Attribute) {
+			} else if (Stage.Type.WOOD.ToString() == item) {
 				w++;
 			}
 		}
--- a/Assets/Application/Scripts/SaveData.cs	Mon Nov 07 18:42:01 2016 +0900
+++ b/Assets/Application/Scripts/SaveData.cs	Tue Nov 08 17:07:48 2016 +0900
@@ -5,10 +5,61 @@
 
 	public static SaveData Instance;
 
+	private Jungle mainScene ;
+	private JungleTree mainTree;
+	private JungleTreeEditor TreeEditor;
+	private TreeNode node;
 	// Use this for initialization
 	void Awake () {
 		if (Instance == null) {
 			Instance = this;
 		}
 	}
+
+	private void Start () {
+		JungleStart ();
+	}
+
+	private void JungleStart () {
+		Debug.Log ("[Jungle] Start ...");
+		mainScene = new DefaultJungle(null, "Main", new DefaultTreeEditor(new DefaultTraverser()));
+	}
+
+	public void CreateTree (string name) {
+		mainTree = mainScene.createNewTree (name);
+		Debug.Log ("[Jungle] Create " + name + " Tree");
+		EditorMode ();
+	}
+
+	public void EditorMode () { 
+		TreeEditor = mainTree.getTreeEditor ();
+		Debug.Log ("[Jungle] Editor Mode" + TreeEditor.ToString());
+	}
+
+	public void PutAttribute (NodePath path, string key, byte[] value) {
+		Either<Error, JungleTreeEditor> either = TreeEditor.putAttribute (path, key, value);
+		if (either.isA ()) {
+			Debug.LogError ("[Error]" + either.a());
+		} else {
+			Debug.Log ("[Success]");
+			either.b ();
+		}
+	}
+
+	public void GetAttribute (NodePath path, string key) {
+		node = mainTree.getNodeOfPath (path).b ();
+		byte[] target = node.getAttributes ().get (key);
+		var obj = ConvertObject.UnConvert (target);
+		print (obj);
+	}
+ 
+	public void Push() {
+		Either<Error, JungleTreeEditor> r = TreeEditor.success();
+		if (!r.isA ()) {
+			Debug.LogError ("[Error]");
+		} else {
+			Debug.Log ("[Success]");
+			TreeEditor = r.b ();
+		}
+	}
 }
--- a/Assets/Application/Scripts/StageManager.cs	Mon Nov 07 18:42:01 2016 +0900
+++ b/Assets/Application/Scripts/StageManager.cs	Tue Nov 08 17:07:48 2016 +0900
@@ -6,11 +6,9 @@
 
 	public static StageManager Instance;
 	// stages["Attribute"]で取れる
-	public System.Collections.Generic.List<GameObject> stages = new System.Collections.Generic.List<GameObject>();
+	public System.Collections.Generic.Dictionary<Stage.Type, GameObject> stages = new System.Collections.Generic.Dictionary<Stage.Type, GameObject>();
 	private GameObject baseStage;
 
-	public  System.Collections.Generic.List<Vector3> StageData = new System.Collections.Generic.List<Vector3> ();
-
 	void Awake () {
 		if (Instance == null) {
 			Instance = this;
@@ -28,19 +26,20 @@
 		baseStage = new GameObject ();
 		baseStage.name = "stage";
 		baseStage.transform.position = Vector3.zero;
+		GameObject.FindGameObjectWithTag ("Player").transform.SetParent (baseStage.transform);
 	}
 
 	void SetStage () {
 		object[] objects = Resources.LoadAll ("Prefabs/Object");
 		foreach (var obj in objects) {
 			GameObject gbj = (GameObject)obj;
-			stages.Add(gbj);
+			stages.Add(gbj.GetComponent<Stage>().Attribute, gbj);
 		}
 	}
 
 	// One.
-	public void CreateStage (int num, Vector3 pos) {
-		GameObject obj = Instantiate (stages[num]);
+	public void CreateStage (Stage.Type attr, Vector3 pos) {
+		GameObject obj = Instantiate (stages[attr]);
 		obj.GetComponent<Stage> ().SetPosition (pos);
 		obj.transform.SetParent (baseStage.transform);
 	}
@@ -49,10 +48,20 @@
 	public void CreateStages (int count) {
 		for (int x = 0; x < count; x++) {
 			for (int z = 0; z < count; z++) {
-				CreateStage (Random.Range (0, stages.Count), new Vector3 (x, Random.Range(-1, 1), z));
+				CreateStage (GetTypes(Random.Range(0,3)), new Vector3 (x, Random.Range(-1, 1), z));
 			}
 		}
 	}
+
+	public Stage.Type GetTypes (int n) {
+		if (n == 0) {
+			return Stage.Type.SAND;
+		} else if (n == 1) {
+			return Stage.Type.WOOD;
+		} else {
+			return Stage.Type.GRASS;
+		}
+	}
 	
 	// Update is called once per frame
 	void Update () {
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Assets/Application/Scripts/Test.meta	Tue Nov 08 17:07:48 2016 +0900
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: fd6b8e0b684324b7a95750e00e388ddc
+folderAsset: yes
+timeCreated: 1478587622
+licenseType: Free
+DefaultImporter:
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Assets/Application/Scripts/Test/SaveDataTest.cs	Tue Nov 08 17:07:48 2016 +0900
@@ -0,0 +1,64 @@
+using UnityEngine;
+using UnityEditor;
+using System.Collections;
+using UnityEngine.SceneManagement;
+
+public class SaveDataTest : MonoBehaviour {
+	
+	DefaultNodePath root = new DefaultNodePath();
+	NodePath path; 
+	System.Collections.Generic.List<ParentObject> ParentList = new System.Collections.Generic.List<ParentObject>();
+	public ConvertObject co;
+
+	private void Start () {
+		path = root.add(0);
+		Check ();
+	}
+
+	private void Update () {
+		if (Input.GetKeyDown (KeyCode.A)) {
+			SaveData.Instance.CreateTree (SceneManager.GetActiveScene().name);
+		}
+
+		if (Input.GetKeyDown (KeyCode.S)) {
+			int i = 1;
+			foreach (var parent in ParentList) {
+				foreach (var comp in parent.dic) {
+					Mapping (comp.Key, comp.Value);
+				}
+//				SaveData.Instance.GetAttribute (path);
+				path = path.last ().rights();
+				path = path.add (i);
+				i++;
+				SaveData.Instance.EditorMode ();
+			}
+		}
+	}
+
+	private void Mapping(string key, Component value) {
+		byte[] array = ConvertObject.Convert (value);
+		SaveData.Instance.PutAttribute (path, key , array);
+	}
+
+	private void Check () {
+		// やりたいこと
+		// まず親のみ取得
+		// その後親から辿っていってComponentをすべてとる
+		// http://answers.unity3d.com/questions/275714/how-to-find-all-components-of-a-game-object.html
+		// こことかいいかも
+
+		// TreeMap<Gameobject, ChildObject> Left : Parent, Right : ChildTreeMap
+		// 一番浅い親のTreeMapをListに入れる
+		int i = 0;
+		foreach (GameObject obj in UnityEngine.Resources.FindObjectsOfTypeAll(typeof(GameObject))) {
+			string path = AssetDatabase.GetAssetOrScenePath (obj);
+			bool isScene = path.Contains (".unity");
+			if (isScene) { // このシーンの中のオブジェクトかどうか。
+				if (obj.transform.childCount == 0 && obj.transform.parent == null || obj.transform.childCount > 0 && obj.transform.parent == null) { // 親を取得
+					ParentObject parent = new ParentObject (obj, root.add (i));
+					i++;
+				}
+			}
+		}
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Assets/Application/Scripts/Test/SaveDataTest.cs.meta	Tue Nov 08 17:07:48 2016 +0900
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 13c905b30e8904afeb6af0ada5e3f8ba
+timeCreated: 1478517749
+licenseType: Free
+MonoImporter:
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 
--- a/Assets/Resources/Materials/WOOD.mat	Mon Nov 07 18:42:01 2016 +0900
+++ b/Assets/Resources/Materials/WOOD.mat	Tue Nov 08 17:07:48 2016 +0900
@@ -121,7 +121,7 @@
     m_Colors:
     - first:
         name: _Color
-      second: {r: 0.7647059, g: 0.39553753, b: 0, a: 1}
+      second: {r: 0.39705884, g: 0.20537525, b: 0, a: 1}
     - first:
         name: _EmissionColor
       second: {r: 0, g: 0, b: 0, a: 1}
Binary file obj/Debug/Assembly-CSharp.dll has changed
Binary file obj/Debug/Assembly-CSharp.dll.mdb has changed