From 53ebf520ee6718434e54aee78f70c4d37518cc2a Mon Sep 17 00:00:00 2001 From: Ciakon Date: Wed, 28 Feb 2024 09:08:39 +0100 Subject: [PATCH] Chimken --- Assets/Scenes/Noahs kælder.unity | 14 ++++++++++++++ Assets/Scripts/Ingredient.cs | 4 +++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/Assets/Scenes/Noahs kælder.unity b/Assets/Scenes/Noahs kælder.unity index 9317ee3..fcde943 100644 --- a/Assets/Scenes/Noahs kælder.unity +++ b/Assets/Scenes/Noahs kælder.unity @@ -133,6 +133,7 @@ GameObject: m_Component: - component: {fileID: 537514709} - component: {fileID: 537514708} + - component: {fileID: 537514710} m_Layer: 0 m_Name: Chimken m_TagString: Untagged @@ -207,6 +208,19 @@ Transform: m_Children: [] m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &537514710 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 537514707} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bc5b15c2c5f208b4d95341de4aa7e2f6, type: 3} + m_Name: + m_EditorClassIdentifier: + transform: {x: 0, y: 0, z: 0} --- !u!1 &675419354 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/Ingredient.cs b/Assets/Scripts/Ingredient.cs index 86f6847..7262e14 100644 --- a/Assets/Scripts/Ingredient.cs +++ b/Assets/Scripts/Ingredient.cs @@ -5,6 +5,8 @@ using UnityEngine; public class Ingredient : MonoBehaviour { // Start is called before the first frame update + //Vector3 mousePosition = Input.mousePosition; + public Vector3 transform; void Start() { @@ -13,6 +15,6 @@ public class Ingredient : MonoBehaviour // Update is called once per frame void Update() { - + //transform.position = Input } }