示例#1
0
 private void Start()
 {
     _gamepadManager = GamepadManager.GetInstance();
     _deadZoneStick  = _gamepadManager.GetStickDeadZone();
     _transform      = transform;
     _rigidBody      = GetComponent <Rigidbody2D>();
 }
示例#2
0
    private void Start()
    {
        _gamepadManager = GamepadManager.GetInstance();
        _stickDeadZone  = _gamepadManager.GetStickDeadZone();

        _baseColor    = alltext[0].color;
        _baseSize     = alltext[0].fontSize;
        _selectedSize = _baseSize + 20;

        SelectText(0);
    }