script into prefab game object

This commit is contained in:
cemt1363
2026-06-05 23:43:16 +02:00
parent 6a9a61bc25
commit 612336fe92
2 changed files with 16 additions and 2 deletions
+14
View File
@@ -12,6 +12,7 @@ GameObject:
- component: {fileID: 8298564220872302505}
- component: {fileID: 4266476263824402640}
- component: {fileID: 218454750066863599}
- component: {fileID: -8535381027169538}
m_Layer: 0
m_Name: PlayerDroplet
m_TagString: Untagged
@@ -166,3 +167,16 @@ BoxCollider2D:
m_AutoTiling: 0
m_Size: {x: 1, y: 1}
m_EdgeRadius: 0
--- !u!114 &-8535381027169538
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2141180002423843430}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 64d83d81ffe9aeb419af4eb171357948, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::DropletMovement
moveSpeed: 5
+2 -2
View File
@@ -364,8 +364,8 @@ Transform:
m_GameObject: {fileID: 1163275671}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -6.14, y: 2.16, z: 0}
m_LocalScale: {x: 1.4699, y: 1.4092, z: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 2, y: 2, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}