Skip to content
Snippets Groups Projects
Commit d48cc44e authored by Samrendra Roy's avatar Samrendra Roy
Browse files

added a physics behavi

parent 689a043b
No related branches found
No related tags found
No related merge requests found
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class dropingaball : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
fileFormatVersion: 2
guid: 261c96579e3d1644cabc5d8744dd802c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
...@@ -14,16 +14,16 @@ MonoBehaviour: ...@@ -14,16 +14,16 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_PixelRect: m_PixelRect:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 7.2000003
y: 43.2 y: 50.4
width: 1536 width: 1521.6
height: 780.8 height: 780.8
m_ShowMode: 4 m_ShowMode: 4
m_Title: Game m_Title: Project
m_RootView: {fileID: 6} m_RootView: {fileID: 6}
m_MinSize: {x: 875, y: 300} m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000} m_MaxSize: {x: 10000, y: 10000}
m_Maximized: 1 m_Maximized: 0
--- !u!114 &2 --- !u!114 &2
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 52 m_ObjectHideFlags: 52
...@@ -43,12 +43,12 @@ MonoBehaviour: ...@@ -43,12 +43,12 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 30 y: 30
width: 1536 width: 1521.6
height: 730.8 height: 730.8
m_MinSize: {x: 300, y: 200} m_MinSize: {x: 300, y: 200}
m_MaxSize: {x: 24288, y: 16192} m_MaxSize: {x: 24288, y: 16192}
vertical: 0 vertical: 0
controlID: 75 controlID: 22
--- !u!114 &3 --- !u!114 &3
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 52 m_ObjectHideFlags: 52
...@@ -64,12 +64,12 @@ MonoBehaviour: ...@@ -64,12 +64,12 @@ MonoBehaviour:
m_Children: [] m_Children: []
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 1435.2 x: 1421.6
y: 0 y: 0
width: 100.80005 width: 100
height: 730.8 height: 730.8
m_MinSize: {x: 275, y: 50} m_MinSize: {x: 276, y: 71}
m_MaxSize: {x: 4000, y: 4000} m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 13} m_ActualView: {fileID: 13}
m_Panes: m_Panes:
- {fileID: 13} - {fileID: 13}
...@@ -92,8 +92,8 @@ MonoBehaviour: ...@@ -92,8 +92,8 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 277.6 width: 275.2
height: 630.4 height: 599.2
m_MinSize: {x: 201, y: 221} m_MinSize: {x: 201, y: 221}
m_MaxSize: {x: 4001, y: 4021} m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 14} m_ActualView: {fileID: 14}
...@@ -117,9 +117,9 @@ MonoBehaviour: ...@@ -117,9 +117,9 @@ MonoBehaviour:
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 630.4 y: 599.2
width: 1435.2 width: 1421.6
height: 100.39996 height: 131.59998
m_MinSize: {x: 231, y: 271} m_MinSize: {x: 231, y: 271}
m_MaxSize: {x: 10001, y: 10021} m_MaxSize: {x: 10001, y: 10021}
m_ActualView: {fileID: 12} m_ActualView: {fileID: 12}
...@@ -148,7 +148,7 @@ MonoBehaviour: ...@@ -148,7 +148,7 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 1536 width: 1521.6
height: 780.8 height: 780.8
m_MinSize: {x: 875, y: 300} m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000} m_MaxSize: {x: 10000, y: 10000}
...@@ -173,7 +173,7 @@ MonoBehaviour: ...@@ -173,7 +173,7 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 1536 width: 1521.6
height: 30 height: 30
m_MinSize: {x: 0, y: 0} m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0} m_MaxSize: {x: 0, y: 0}
...@@ -195,7 +195,7 @@ MonoBehaviour: ...@@ -195,7 +195,7 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 760.8 y: 760.8
width: 1536 width: 1521.6
height: 20 height: 20
m_MinSize: {x: 0, y: 0} m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0} m_MaxSize: {x: 0, y: 0}
...@@ -218,12 +218,12 @@ MonoBehaviour: ...@@ -218,12 +218,12 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 1435.2 width: 1421.6
height: 730.8 height: 730.8
m_MinSize: {x: 200, y: 200} m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 16192, y: 16192} m_MaxSize: {x: 16192, y: 16192}
vertical: 1 vertical: 1
controlID: 76 controlID: 23
--- !u!114 &10 --- !u!114 &10
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 52 m_ObjectHideFlags: 52
...@@ -243,12 +243,12 @@ MonoBehaviour: ...@@ -243,12 +243,12 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 0 y: 0
width: 1435.2 width: 1421.6
height: 630.4 height: 599.2
m_MinSize: {x: 200, y: 100} m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 8096} m_MaxSize: {x: 16192, y: 8096}
vertical: 0 vertical: 0
controlID: 58 controlID: 24
--- !u!114 &11 --- !u!114 &11
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 52 m_ObjectHideFlags: 52
...@@ -264,10 +264,10 @@ MonoBehaviour: ...@@ -264,10 +264,10 @@ MonoBehaviour:
m_Children: [] m_Children: []
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 277.6 x: 275.2
y: 0 y: 0
width: 1157.6 width: 1146.3999
height: 630.4 height: 599.2
m_MinSize: {x: 202, y: 221} m_MinSize: {x: 202, y: 221}
m_MaxSize: {x: 4002, y: 4021} m_MaxSize: {x: 4002, y: 4021}
m_ActualView: {fileID: 15} m_ActualView: {fileID: 15}
...@@ -297,10 +297,10 @@ MonoBehaviour: ...@@ -297,10 +297,10 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 7.2000003
y: 704 y: 680
width: 1434.2 width: 1420.6
height: 79.39996 height: 110.599976
m_ViewDataDictionary: {fileID: 0} m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas: m_OverlayCanvas:
m_LastAppliedPresetName: Default m_LastAppliedPresetName: Default
...@@ -318,22 +318,22 @@ MonoBehaviour: ...@@ -318,22 +318,22 @@ MonoBehaviour:
m_SkipHidden: 0 m_SkipHidden: 0
m_SearchArea: 1 m_SearchArea: 1
m_Folders: m_Folders:
- Assets - Assets/XR
m_Globs: [] m_Globs: []
m_OriginalText: m_OriginalText:
m_ViewMode: 1 m_ViewMode: 1
m_StartGridSize: 64 m_StartGridSize: 64
m_LastFolders: m_LastFolders:
- Assets - Assets/XR
m_LastFoldersGridSize: -1 m_LastFoldersGridSize: -1
m_LastProjectPath: C:\Users\roysamren\Downloads\Project-OPENXR\Project m_LastProjectPath: D:\Intern 2023\Test repo\unity-test\Project
m_LockTracker: m_LockTracker:
m_IsLocked: 0 m_IsLocked: 0
m_FolderTreeState: m_FolderTreeState:
scrollPos: {x: 0, y: 79} scrollPos: {x: 0, y: 79}
m_SelectedIDs: d2e00000 m_SelectedIDs: 7ce80000
m_LastClickedID: 57554 m_LastClickedID: 59516
m_ExpandedIDs: 00000000d2e00000d4e00000d6e00000d8e00000dae00000dce00000dee00000e0e00000e2e00000e4e00000e6e00000e8e00000eae00000ece00000eee00000f0e00000f2e00000f4e00000f6e00000f8e00000fae00000fce00000fee0000000e1000000ca9a3b m_ExpandedIDs: 000000005ae700005ce700005ee7000060e7000062e7000064e7000066e7000068e700006ae700006ce700006ee7000070e7000072e7000074e7000076e7000078e700007ae700007ce700007ee7000080e7000082e7000084e7000086e7000088e700008ae700008ce700008ee7000090e7000000ca9a3bffffff7f
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
m_Name: m_Name:
...@@ -361,7 +361,7 @@ MonoBehaviour: ...@@ -361,7 +361,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0} scrollPos: {x: 0, y: 0}
m_SelectedIDs: m_SelectedIDs:
m_LastClickedID: 0 m_LastClickedID: 0
m_ExpandedIDs: 00000000d2e00000d4e00000d6e00000d8e00000dae00000dce00000dee00000e0e00000e2e00000e4e00000e6e00000e8e00000eae00000ece00000eee00000f0e00000f2e00000f4e00000f6e00000f8e00000fae00000fce00000fee0000000e10000 m_ExpandedIDs: 000000005ae700005ce700005ee7000060e7000062e7000064e7000066e7000068e700006ae700006ce700006ee7000070e7000072e7000074e7000076e7000078e700007ae700007ce700007ee7000080e7000082e7000084e7000086e7000088e700008ae700008ce700008ee7000090e70000
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
m_Name: m_Name:
...@@ -388,7 +388,7 @@ MonoBehaviour: ...@@ -388,7 +388,7 @@ MonoBehaviour:
m_ListAreaState: m_ListAreaState:
m_SelectedInstanceIDs: m_SelectedInstanceIDs:
m_LastClickedInstanceID: 0 m_LastClickedInstanceID: 0
m_HadKeyboardFocusLastEvent: 0 m_HadKeyboardFocusLastEvent: 1
m_ExpandedInstanceIDs: c6230000beca0000 m_ExpandedInstanceIDs: c6230000beca0000
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
...@@ -438,9 +438,9 @@ MonoBehaviour: ...@@ -438,9 +438,9 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 1435.2001 x: 1428.8
y: 73.6 y: 80.8
width: 99.80005 width: 99
height: 709.8 height: 709.8
m_ViewDataDictionary: {fileID: 0} m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas: m_OverlayCanvas:
...@@ -480,10 +480,10 @@ MonoBehaviour: ...@@ -480,10 +480,10 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 7.2000003
y: 73.6 y: 80.8
width: 276.6 width: 274.2
height: 609.4 height: 578.2
m_ViewDataDictionary: {fileID: 0} m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas: m_OverlayCanvas:
m_LastAppliedPresetName: Default m_LastAppliedPresetName: Default
...@@ -493,7 +493,7 @@ MonoBehaviour: ...@@ -493,7 +493,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0} scrollPos: {x: 0, y: 0}
m_SelectedIDs: m_SelectedIDs:
m_LastClickedID: 0 m_LastClickedID: 0
m_ExpandedIDs: 26fbffff m_ExpandedIDs: 88f9ffff
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
m_Name: m_Name:
...@@ -538,10 +538,10 @@ MonoBehaviour: ...@@ -538,10 +538,10 @@ MonoBehaviour:
m_Tooltip: m_Tooltip:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 277.6 x: 282.4
y: 73.6 y: 80.8
width: 1155.6 width: 1144.3999
height: 609.4 height: 578.2
m_ViewDataDictionary: {fileID: 0} m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas: m_OverlayCanvas:
m_LastAppliedPresetName: Default m_LastAppliedPresetName: Default
...@@ -628,7 +628,7 @@ MonoBehaviour: ...@@ -628,7 +628,7 @@ MonoBehaviour:
floating: 0 floating: 0
collapsed: 0 collapsed: 0
displayed: 1 displayed: 1
snapOffset: {x: 67.5, y: 86} snapOffset: {x: 67.5, y: 0}
snapOffsetDelta: {x: 0, y: 0} snapOffsetDelta: {x: 0, y: 0}
snapCorner: 0 snapCorner: 0
id: Orientation id: Orientation
...@@ -798,9 +798,9 @@ MonoBehaviour: ...@@ -798,9 +798,9 @@ MonoBehaviour:
m_PlayAudio: 0 m_PlayAudio: 0
m_AudioPlay: 0 m_AudioPlay: 0
m_Position: m_Position:
m_Target: {x: 4.7169566, y: -1.5105127, z: -13.669513} m_Target: {x: 3.1555827, y: -2.606645, z: -11.581512}
speed: 2 speed: 2
m_Value: {x: 4.7169566, y: -1.5105127, z: -13.669513} m_Value: {x: 3.1555827, y: -2.606645, z: -11.581512}
m_RenderMode: 0 m_RenderMode: 0
m_CameraMode: m_CameraMode:
drawMode: 0 drawMode: 0
...@@ -847,13 +847,13 @@ MonoBehaviour: ...@@ -847,13 +847,13 @@ MonoBehaviour:
m_GridAxis: 1 m_GridAxis: 1
m_gridOpacity: 0.5 m_gridOpacity: 0.5
m_Rotation: m_Rotation:
m_Target: {x: -0.15410003, y: 0.4214132, z: -0.07290148, w: -0.89071184} m_Target: {x: -0.12424246, y: 0.36107624, z: -0.048605483, w: -0.92295545}
speed: 2 speed: 2
m_Value: {x: -0.15409863, y: 0.4214094, z: -0.07290082, w: -0.8907038} m_Value: {x: -0.12424113, y: 0.36107236, z: -0.04860496, w: -0.92294556}
m_Size: m_Size:
m_Target: 0.103477366 m_Target: 0.4116602
speed: 2 speed: 2
m_Value: 0.103477366 m_Value: 0.4116602
m_Ortho: m_Ortho:
m_Target: 0 m_Target: 0
speed: 2 speed: 2
...@@ -913,7 +913,7 @@ MonoBehaviour: ...@@ -913,7 +913,7 @@ MonoBehaviour:
m_ShowGizmos: 0 m_ShowGizmos: 0
m_TargetDisplay: 0 m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0} m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 3840, y: 2160} m_TargetSize: {x: 1444.5, y: 735.5}
m_TextureFilterMode: 0 m_TextureFilterMode: 0
m_TextureHideFlags: 61 m_TextureHideFlags: 61
m_RenderIMGUI: 1 m_RenderIMGUI: 1
...@@ -928,10 +928,10 @@ MonoBehaviour: ...@@ -928,10 +928,10 @@ MonoBehaviour:
m_VRangeLocked: 0 m_VRangeLocked: 0
hZoomLockedByDefault: 0 hZoomLockedByDefault: 0
vZoomLockedByDefault: 0 vZoomLockedByDefault: 0
m_HBaseRangeMin: -1536 m_HBaseRangeMin: -577.8
m_HBaseRangeMax: 1536 m_HBaseRangeMax: 577.8
m_VBaseRangeMin: -864 m_VBaseRangeMin: -294.2
m_VBaseRangeMax: 864 m_VBaseRangeMax: 294.2
m_HAllowExceedBaseRangeMin: 1 m_HAllowExceedBaseRangeMin: 1
m_HAllowExceedBaseRangeMax: 1 m_HAllowExceedBaseRangeMax: 1
m_VAllowExceedBaseRangeMin: 1 m_VAllowExceedBaseRangeMin: 1
...@@ -951,7 +951,7 @@ MonoBehaviour: ...@@ -951,7 +951,7 @@ MonoBehaviour:
y: 21 y: 21
width: 1155.6 width: 1155.6
height: 588.4 height: 588.4
m_Scale: {x: 0.34050927, y: 0.34050927} m_Scale: {x: 1, y: 1}
m_Translation: {x: 577.8, y: 294.2} m_Translation: {x: 577.8, y: 294.2}
m_MarginLeft: 0 m_MarginLeft: 0
m_MarginRight: 0 m_MarginRight: 0
...@@ -959,12 +959,12 @@ MonoBehaviour: ...@@ -959,12 +959,12 @@ MonoBehaviour:
m_MarginBottom: 0 m_MarginBottom: 0
m_LastShownAreaInsideMargins: m_LastShownAreaInsideMargins:
serializedVersion: 2 serializedVersion: 2
x: -1696.8701 x: -577.8
y: -864 y: -294.2
width: 3393.7402 width: 1155.6
height: 1728 height: 588.4
m_MinimalGUI: 1 m_MinimalGUI: 1
m_defaultScale: 0.34050927 m_defaultScale: 1
m_LastWindowPixelSize: {x: 1444.5, y: 761.75} m_LastWindowPixelSize: {x: 1444.5, y: 761.75}
m_ClearInEditMode: 1 m_ClearInEditMode: 1
m_NoCameraWarning: 1 m_NoCameraWarning: 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment