save scene

This commit is contained in:
Soulaha Balde 2022-10-19 22:16:14 -04:00
parent c079a6ccba
commit b2c581a8d5
2 changed files with 19 additions and 6 deletions

View File

@ -1734,7 +1734,8 @@ GameObject:
- component: {fileID: 1094313416} - component: {fileID: 1094313416}
- component: {fileID: 1094313415} - component: {fileID: 1094313415}
- component: {fileID: 1094313419} - component: {fileID: 1094313419}
m_Layer: 0 - component: {fileID: 1094313420}
m_Layer: 6
m_Name: Cube m_Name: Cube
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
@ -1830,11 +1831,23 @@ Rigidbody:
m_Mass: 1 m_Mass: 1
m_Drag: 0 m_Drag: 0
m_AngularDrag: 0.05 m_AngularDrag: 0.05
m_UseGravity: 1 m_UseGravity: 0
m_IsKinematic: 0 m_IsKinematic: 1
m_Interpolate: 0 m_Interpolate: 0
m_Constraints: 0 m_Constraints: 0
m_CollisionDetection: 0 m_CollisionDetection: 0
--- !u!114 &1094313420
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1094313414}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6274607e1747d7342942440e01be026f, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1166806157 --- !u!1 &1166806157
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2260,7 +2273,7 @@ Transform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1530935835} m_GameObject: {fileID: 1530935835}
m_LocalRotation: {x: 0.0000000016397671, y: 0.9994022, z: -0.03457181, w: 0.0000000474024} m_LocalRotation: {x: 0.000000001639493, y: 0.9994022, z: -0.03457181, w: 0.000000047394476}
m_LocalPosition: {x: 4.54, y: 6.64, z: 22.81} m_LocalPosition: {x: 4.54, y: 6.64, z: 22.81}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
@ -3191,7 +3204,7 @@ Transform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2129712287} m_GameObject: {fileID: 2129712287}
m_LocalRotation: {x: 0.0000000016397671, y: 0.9994022, z: -0.03457181, w: 0.0000000474024} m_LocalRotation: {x: 0.000000001639493, y: 0.9994022, z: -0.03457181, w: 0.000000047394476}
m_LocalPosition: {x: 4.54, y: 6.64, z: 22.81} m_LocalPosition: {x: 4.54, y: 6.64, z: 22.81}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0

View File

@ -14,6 +14,6 @@ public class moveup : MonoBehaviour
// Update is called once per frame // Update is called once per frame
void Update() void Update()
{ {
rb.MovePosition(transform.position + new Vector3(0,1,0)*Time.deltaTime); rb.MovePosition(transform.position + new Vector3(0,5,0)*Time.deltaTime);
} }
} }