feat: basic online working with relay
This commit is contained in:
@@ -7,7 +7,9 @@ using UnityEngine.UIElements;
|
||||
using NodeCanvas;
|
||||
using NodeCanvas.Framework;
|
||||
using ParadoxNotion;
|
||||
using Reset;
|
||||
using Sirenix.OdinInspector;
|
||||
using Unity.Cinemachine;
|
||||
|
||||
public class PlayerControls : MonoBehaviour{
|
||||
// References
|
||||
@@ -63,6 +65,9 @@ public class PlayerControls : MonoBehaviour{
|
||||
public void OnLook(InputValue value){
|
||||
rawLookInput.x = value.Get<Vector2>().x;
|
||||
rawLookInput.y = value.Get<Vector2>().y;
|
||||
|
||||
// GameManager.Camera.transform.Find("Cinemachine").GetComponent<CustomInputHandler>().Controllers[0].InputValue = rawLookInput.x * 200;
|
||||
// GameManager.Camera.transform.Find("Cinemachine").GetComponent<CustomInputHandler>().Controllers[1].InputValue = rawLookInput.y * 100;
|
||||
}
|
||||
|
||||
public void OnSprint(){
|
||||
|
||||
Reference in New Issue
Block a user