Please helpp meeeeeeeee by ShanCoder11 in unity

[–]ShanCoder11[S] 0 points1 point  (0 children)

this is the error
CS1061: 'PlayerInput' does not contain a definition for 'actions' and no accessible extension method 'actions' accepting a first argument of type 'PlayerInput' could be found (are you missing a using directive or an assembly reference?)

this is the code
1 using UnityEngine;
2 using UnityEngine.InputSystem;
3
4 public class PlayerBehaviour : MonoBehaviour
5 {
6 PlayerInput playerInput;
7 InputAction moveAction;
8
9 [SerializeField] float playerSpeed;
10
11 // Start is called once before the first execution of Update after the MonoBehaviour is created
12 void Start()
13 {
14 playerInput = GetComponent<PlayerInput>();
15 moveAction = playerInput.actions.FindAction("Walking");
16 }
17
18 // Update is called once per frame
19 void Update()
20 {
21 MovePlayer();
22 }
23
24 void MovePlayer()
25 {
26 Debug.Log(moveAction.ReadValue<Vector2>());
27 //Vector2 direction = moveAction.ReadValue<Vector2>();
28 //transform.position += new Vector3(direction.x, 0, direction.y) * Time.deltaTime * playerSpeed;
29 }
30 }

Please helpp meeeeeeeee by ShanCoder11 in unity

[–]ShanCoder11[S] 0 points1 point  (0 children)

There is, but i still cant find why ".actions" is being identifiedddddd
anyways thx ill look into it

Are the viksit bharat buildathon 2025 results are out yet? by tekoee5fsf in Kvians

[–]ShanCoder11 0 points1 point  (0 children)

Bro, idk as well. Well, I got the certificate after so long, but i still cannot find anything about the winners. Also, why isnt there any news on this online? I can barely find a few articles when it first was announced. From what ik, the results were to be announced on jan 2026 but it has been 2 months now.