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;
public class SimplePlayerMovement : MonoBehaviour
{
public float moveSpeed = 3f;
void Update()
{
float h = Input.GetAxis("Horizontal");
float v = Input.GetAxis("Vertical");
Vector3 direction = new Vector3(h, 0, v);
transform.Translate(direction * moveSpeed * Time.deltaTime);
}
}