add kcp
This commit is contained in:
@@ -196,8 +196,8 @@ namespace BITKit
|
||||
private void Update()
|
||||
{
|
||||
//var debuger = DI.Get<IDebuger>();
|
||||
var playerConfig = PlayerConfig.singleton;
|
||||
var sensitivity = playerConfig.touchSensitivity;
|
||||
var playerConfig = PlayerConfig.Singleton;
|
||||
var sensitivity = playerConfig.TouchSensitivity;
|
||||
|
||||
//debuger.Log(nameof(Touch.activeTouches), Touch.activeTouches.Count.ToString());
|
||||
touchesCount = Touch.activeTouches.Count;
|
||||
@@ -229,8 +229,8 @@ namespace BITKit
|
||||
private void OnView(InputAction.CallbackContext context)
|
||||
{
|
||||
if (allowInput.OnCheck() is false) return;
|
||||
var playerConfig = PlayerConfig.singleton;
|
||||
var sensitivity = playerConfig.sensitivity * playerConfig.m_yaw;
|
||||
var playerConfig = PlayerConfig.Singleton;
|
||||
var sensitivity = playerConfig.Sensitivity * playerConfig.M_Yaw;
|
||||
var delta = context.ReadValue<Vector2>();
|
||||
switch (context.control.device)
|
||||
{
|
||||
|
Reference in New Issue
Block a user