Initial commit

This commit is contained in:
Savina Rizdafayi
2025-07-12 19:53:40 +07:00
commit d7120c397a
933 changed files with 246809 additions and 0 deletions

View File

@ -0,0 +1,16 @@
using UnityEngine;
using UnityEngine.InputSystem;
public class PlayerBergerak : MonoBehaviour
{
public float speed = 1.5f;
void Update()
{
if (Keyboard.current.spaceKey.wasPressedThisFrame || Gamepad.current?.buttonSouth.isPressed == true)
{
transform.Translate(transform.forward * speed * Time.deltaTime);
}
}
}