FirstComit
This commit is contained in:
14
Assets/Script/TestMain.cs
Normal file
14
Assets/Script/TestMain.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class TestMain : MonoBehaviour
|
||||
{
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
if (Input.GetMouseButtonDown(0))
|
||||
{
|
||||
Score.Instance.CntUp();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user