-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Begin bevy version migration * WIP, correct api gen, TODO: examples * Migrate complex_game_loop example * tweak docs and public API * fix some migration issues, migrate bevy_api, move all reflection indexing on lua side to 1-based * Migrate examples, untested * migrate rhai examples untested * Fix examples * Further improvements to examples * fix wrappers.rs issue * clippy fixes * clippy fixes * clippy fixes * fix typos and doctests * cargo fmt fixes
- Loading branch information
Showing
44 changed files
with
2,241 additions
and
1,170 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,17 @@ | ||
|
||
|
||
function on_pre_physics_one(id) | ||
print("on_pre_physics_one, Handling:") | ||
function on_pre_physics(id) | ||
print("on_pre_physics, Handling:") | ||
print(string.format("\t-> id: %d",id)) | ||
end | ||
|
||
function on_pre_physics_two(id) | ||
print("on_pre_physics_two, Handling:") | ||
print(string.format("\t-> id: %d",id)) | ||
end | ||
|
||
function on_post_physics_one(id) | ||
print("on_post_physics_one, Handling:") | ||
function on_post_physics(id) | ||
print("on_post_physics, Handling:") | ||
print(string.format("\t-> id: %d",id)) | ||
end | ||
|
||
function on_post_physics_two(id) | ||
print("on_post_physics_two, Handling:") | ||
print(string.format("\t-> id: %d",id)) | ||
end | ||
|
||
function on_post_update_one(id) | ||
print("on_post_update_one, Handling:") | ||
function on_post_update(id) | ||
print("on_post_update, Handling:") | ||
print(string.format("\t-> id: %d",id)) | ||
end | ||
|
||
function on_post_update_two(id) | ||
print("on_post_update_two, Handling:") | ||
print(string.format("\t-> id: %d",id)) | ||
end |
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
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
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
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
Oops, something went wrong.