Merge pull request 'test37' (#43) from test37 into main
Reviewed-on: http://220.90.135.190:3000/lh/sdi/pulls/43
This commit is contained in:
@@ -2,13 +2,14 @@ using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class hello : MonoBehaviour
|
||||
public class Hello : MonoBehaviour
|
||||
{
|
||||
int numberOfUpdates = 0;
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
Debug.Log("test for gpt code review");
|
||||
Debug.Log("test2");
|
||||
numberOfUpdates = IncreaseCount(numberOfUpdates);
|
||||
Debug.Log(numberOfUpdates);
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
@@ -16,4 +17,10 @@ public class hello : MonoBehaviour
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public int IncreaseCount(int o)
|
||||
{
|
||||
o++;
|
||||
return o;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user