This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity >=0.8.0 <0.9.0; | |
contract BetterTxResultTest { | |
struct SimpleStruct { | |
uint256 val; | |
uint256 secondVal; | |
bool flag; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[derive(GodotClass)] | |
#[class(base = CharacterBody3D)] | |
struct Player { | |
#[export] | |
base_speed: f32, | |
#[export] | |
sprint_speed_multiplier: f32, | |
#[export] | |
air_speed_multiplier: f32, | |
#[export] |