Update hello.cs
All checks were successful
Code Review / code-review (pull_request) Successful in 10s
All checks were successful
Code Review / code-review (pull_request) Successful in 10s
This commit is contained in:
@@ -2,16 +2,14 @@ using System.Collections;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
public class hello : MonoBehaviour
|
public class Hello : MonoBehaviour
|
||||||
{
|
{
|
||||||
int count = 0;
|
int numberOfUpdates = 0;
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
Debug.Log("test for gpt code review");
|
numberOfUpdates = IncreaseCount(numberOfUpdates);
|
||||||
Debug.Log("test2");
|
Debug.Log(numberOfUpdates);
|
||||||
count=Up(count);
|
|
||||||
Debug.Log(count);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
// 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++;
|
o++;
|
||||||
return o;
|
return o;
|
||||||
|
|||||||
Reference in New Issue
Block a user