// Start is called before the first frame update void Start() { m_PlayerStatas = GetComponent <PlayerStatas>(); input = GetComponent <PlayerInput>(); rb = GetComponent <Rigidbody2D>(); moveSpeed = m_PlayerStatas.Speed; }
void Start() { m_statas = GetComponent <PlayerStatas>(); input = GetComponent <PlayerInput>(); rb = GetComponent <Rigidbody2D>(); }
// Start is called before the first frame update void Start() { statas = GetComponent <PlayerStatas>(); }