Answer the question
In order to leave comments, you need to log in
Public variable not showing up in menu?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public class Main : MonoBehaviour
{
public Ship controls;
private void Awake()
{
controls.MovinNshootin.Move.performed += _ => Move();
}
void Move ()
{
Debug.Log("Moved");
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question