private void Start() { _gamepadManager = GamepadManager.GetInstance(); _deadZoneStick = _gamepadManager.GetStickDeadZone(); _transform = transform; _rigidBody = GetComponent <Rigidbody2D>(); }
private void Start() { _gamepadManager = GamepadManager.GetInstance(); _stickDeadZone = _gamepadManager.GetStickDeadZone(); _baseColor = alltext[0].color; _baseSize = alltext[0].fontSize; _selectedSize = _baseSize + 20; SelectText(0); }