using System.Collections; using System.Collections.Generic; using UnityEngine; using ShadowKit.Action; using SC.InputSystem.InputDeviceHandShank; using SC.InputSystem; public class HandShankKeyEvent : HandShankKeyHandlers { public override void OnFunctionKeyDown(InputDeviceHandShankPart part, SCPointEventData eventData) { base.OnFunctionKeyDown(part, eventData); GetComponent().material.color = Color.blue; } public override void OnFunctionKeyUp(InputDeviceHandShankPart part, SCPointEventData eventData) { base.OnFunctionKeyUp(part, eventData); GetComponent().material.color = Color.gray; } }