From 659a5323ee40b617c0d8717e6f8b109d43feea1f Mon Sep 17 00:00:00 2001 From: UVCLimHun Date: Thu, 17 Apr 2025 18:04:43 +0900 Subject: [PATCH] Update hello.cs --- Assets/hello.cs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Assets/hello.cs b/Assets/hello.cs index 157040e..e78c365 100644 --- a/Assets/hello.cs +++ b/Assets/hello.cs @@ -2,16 +2,14 @@ using System.Collections; using System.Collections.Generic; using UnityEngine; -public class hello : MonoBehaviour +public class Hello : MonoBehaviour { - int count = 0; + int numberOfUpdates = 0; // Start is called before the first frame update void Start() { - Debug.Log("test for gpt code review"); - Debug.Log("test2"); - count=Up(count); - Debug.Log(count); + numberOfUpdates = IncreaseCount(numberOfUpdates); + Debug.Log(numberOfUpdates); } // Update is called once per frame @@ -20,7 +18,7 @@ public class hello : MonoBehaviour } - public int Up(int o) + public int IncreaseCount(int o) { o++; return o;