dotnet / dotnet/website-feedback
// See https://aka.ms/new-console-template for more information Console.WriteLine("Hello, World!"); Console.WriteLine("The current time is " + DateTime.Now);
- Dominant language
- No language data
- Stars
- 7
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
### URL
https://dotnet.microsoft.com/it-it/learn/dotnet/hello-world-tutorial/intro
### Operating system
linux
### More information about your system
_No response_
### Description
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public CharacterController controller;
public float speed = 12f;
public float gravity = -9.81f;
public float jumpHeight = 3f;
public Transform groundCheck;
public float groundDistance = 0.4f;
public LayerMask groundMask;
Vector3 velocity;
bool isGrounded;
void Update()
{
isGrounded = Physics.CheckSphere(groundCheck.position, groundDistance, groundMask);গেম বানানোর জন্য কোনো একটি ছোট লেখাই কপি-পেস্ট করলেই পুরো গেম তৈরি হয়ে যায় না। তবে তুমি **Unity** ইঞ্জিনে একটি নতুন প্রজেক্ট খুলে শুরু করতে পারো।
এখানে একটি **C# Script (কোড)** দেওয়া হলো, যা দিয়ে তুমি গেমের প্লেয়ারকে স্ক্রিনে সরাতে (Player Movement) পারবে:
```csharp
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public float moveSpeed = 5f;
void Update()
{
float moveX = Input.GetAxis("Horizontal");
float moveZ = Input.GetAxis("Vertical");
Vector3 move = transform.right * moveX + transform.forward * moveZ;
transform.Translate(move * moveSpeed * Time.deltaTime, Space.World);
}
}
### dotnet --info
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Open the linked hello-world tutorial and compare it with the supplied title and description; no repository file, test, or concrete requested change is identified. First clarify whether the report concerns the .NET tutorial or the Unity/C# example; done would be a clearly scoped correction in the relevant website content.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100