protected override void Input(InputAction action) { if (action is ButtonInputAction) { ButtonInputAction temp = (ButtonInputAction)action; if (temp.Status) { active = true; } else { active = false; } } }
protected override void Input(InputAction action) { if (action is ButtonInputAction) { buttA = (ButtonInputAction)action; if (buttA.Status) { State = StateToDraw.ButtonDown; } else if (buttA.Status != true) { State = StateToDraw.ButtonHover; } } }