Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanTanDev/runity
/ functions
Functions
162 in github.com/TanTanDev/runity
⨍
Functions
162
◇
Types & classes
62
↓ 16 callers
Method
add_system
Adds a system to the [update stage](Self::add_default_stages) of the app's [`Schedule`]. Refer to the [system module documentation](bevy_ecs::system)
rust/shared/src/bevy_app_syncable.rs:287
↓ 13 callers
Method
add_system_to_stage
Adds a system to the [`Stage`] identified by `stage_label`. # Example ``` # use bevy_app::prelude::*; # use bevy_ecs::prelude::*; # # let mut app =
rust/shared/src/bevy_app_syncable.rs:328
↓ 9 callers
Method
add_stage
Adds a [`Stage`] with the given `label` to the last position of the app's [`Schedule`]. # Example ``` # use bevy_app::prelude::*; # use bevy_ecs::pr
rust/shared/src/bevy_app_syncable.rs:107
↓ 9 callers
Method
insert_resource
Inserts a resource to the current [App] and overwrites any resource previously added of the same type. A resource in Bevy represents globally unique
rust/shared/src/bevy_app_syncable.rs:603
↓ 5 callers
Method
stage
Fetches the [`Stage`] of type `T` marked with `label` from the [`Schedule`], then executes the provided `func` passing the fetched stage to it as an a
rust/shared/src/bevy_app_syncable.rs:262
↓ 4 callers
Method
update
Advances the execution of the [`Schedule`] by one cycle. See [`Schedule::run_once`] for more details.
rust/shared/src/bevy_app_syncable.rs:87
↓ 3 callers
Method
add_system_set_to_stage
Adds a [`SystemSet`] to the [`Stage`] identified by `stage_label`. # Example ``` # use bevy_app::prelude::*; # use bevy_ecs::prelude::*; # # let mut
rust/shared/src/bevy_app_syncable.rs:359
↓ 3 callers
Method
into
(self)
rust/shared/src/components/transform.rs:15
↓ 2 callers
Method
level
(&self)
rust/runity/src/logging.rs:71
↓ 2 callers
Method
level
(&self)
rust/shared/src/log_plugin.rs:64
↓ 1 callers
Method
DownloadEntityCollisionEvents
()
unity/Runity/World.cs:180
↓ 1 callers
Method
Update
()
unity/Runity/Runity.cs:37
↓ 1 callers
Method
add_default_stages
Adds utility stages to the [`Schedule`], giving it a standardized structure. Adding those stages is necessary to make some core engine features work,
rust/shared/src/bevy_app_syncable.rs:541
↓ 1 callers
Method
add_plugin
/// Adds a single plugin /// /// One of Bevy's core principles is modularity. All Bevy engine features are implemented /// as plugins. This includes i
rust/shared/src/bevy_app_syncable.rs:702
↓ 1 callers
Method
add_stage_after
Adds a [`Stage`] with the given `label` to the app's [`Schedule`], located immediately after the stage labeled by `target`. # Example ``` # use bevy
rust/shared/src/bevy_app_syncable.rs:124
↓ 1 callers
Method
add_stage_before
Adds a [`Stage`] with the given `label` to the app's [`Schedule`], located immediately before the stage labeled by `target`. # Example ``` # use bev
rust/shared/src/bevy_app_syncable.rs:146
↓ 1 callers
Method
add_startup_system_set_to_stage
Adds a [`SystemSet`] to the [startup schedule](Self::add_default_stages), in the stage identified by `stage_label`. `stage_label` must refer to a sta
rust/shared/src/bevy_app_syncable.rs:469
↓ 1 callers
Method
add_startup_system_to_stage
Adds a system to the [startup schedule](Self::add_default_stages), in the stage identified by `stage_label`. `stage_label` must refer to a stage insi
rust/shared/src/bevy_app_syncable.rs:433
↓ 1 callers
Method
add_state_to_stage
Adds a new [State] with the given `initial` value. This inserts a new `State<T>` resource and adds a new "driver" to the given stage. Each stage that
rust/shared/src/bevy_app_syncable.rs:498
↓ 1 callers
Function
api_init
(unity_log_level: LevelFilter, writer_log_level: LevelFilter)
rust/runity/src/api.rs:65
↓ 1 callers
Function
api_init_game_lib
(lib_name: *const c_char)
rust/runity/src/api.rs:29
↓ 1 callers
Function
api_update
(time: Time)
rust/runity/src/api.rs:73
↓ 1 callers
Function
bind_log_callback
(callback: extern fn(LogMessage))
rust/runity/src/logging.rs:43
↓ 1 callers
Method
build
(&self, app: &mut App)
rust/game/src/score.rs:27
↓ 1 callers
Method
enabled
(&self, metadata: &Metadata)
rust/runity/src/logging.rs:54
↓ 1 callers
Method
enabled
(&self, metadata: &Metadata)
rust/shared/src/log_plugin.rs:38
↓ 1 callers
Method
init
(&mut self, app: &mut shared::bevy_app_syncable::App)
rust/game/src/lib.rs:124
↓ 1 callers
Method
init_library
(&mut self, lib_name: &str)
rust/runity/src/game.rs:98
↓ 1 callers
Method
setup_bevy_world
(&mut self)
rust/runity/src/game.rs:61
↓ 1 callers
Function
string_to_cstring_ptr
only use for passing to other language
rust/shared/src/utils.rs:6
↓ 1 callers
Method
update_bevy_world
(&mut self)
rust/runity/src/game.rs:93
↓ 1 callers
Function
world_bind_despawn_gameobject_callback
(callback: extern fn(EntityId))
rust/runity/src/world.rs:61
↓ 1 callers
Function
world_bind_entity_track_collision
(callback: extern fn(EntityId))
rust/runity/src/world.rs:97
↓ 1 callers
Function
world_bind_input_key_held
(callback: extern fn(KeyCode) -> bool)
rust/runity/src/world.rs:91
↓ 1 callers
Function
world_bind_input_key_just_pressed
(callback: extern fn(KeyCode) -> bool)
rust/runity/src/world.rs:79
↓ 1 callers
Function
world_bind_input_key_just_released
(callback: extern fn(KeyCode) -> bool)
rust/runity/src/world.rs:85
↓ 1 callers
Function
world_bind_spawn_prefab_callback
(callback: extern fn(*const c_char, EntityId))
rust/runity/src/world.rs:43
↓ 1 callers
Function
world_bind_spawn_prefab_with_transform_and_parent_callback
(callback: extern fn(*const c_char, EntityId, CTransform, EntityId))
rust/runity/src/world.rs:55
↓ 1 callers
Function
world_bind_spawn_prefab_with_transform_callback
(callback: extern fn(*const c_char, EntityId, CTransform))
rust/runity/src/world.rs:49
↓ 1 callers
Function
world_bind_upload_component_textmeshui_callback
(callback: extern fn(EntityId, *const c_char))
rust/runity/src/world.rs:73
↓ 1 callers
Function
world_bind_upload_component_transform_callback
(callback: extern fn(EntityId, CTransform))
rust/runity/src/world.rs:67
↓ 1 callers
Function
world_download_entity_collision_event
(entity_id: EntityId, collision_event: CollisionEvent)
rust/runity/src/world.rs:103
Method
Api
(string a_gameLibName, Level a_unityLoggerLevel, Level a_writerLoggerLevel)
unity/Runity/Runity.cs:32
Method
CallbackLog
(LogMessage a_message)
unity/Runity/Logging.cs:13
Method
CollisionEvent
(UInt64 a_ownerEntityId, UInt64 a_otherEntityId, CollisionType a_collisionType)
unity/Runity/CollisionTrackerComponent.cs:12
Method
DespawnGameObject
(UInt64 a_identifierBits)
unity/Runity/World.cs:67
Method
EntityTrackCollision
(UInt64 a_identifierBits)
unity/Runity/World.cs:141
Method
GetComponentFromId
(int a_componentId)
unity/Runity/RustyGameObject.cs:14
Method
InputKeyHeld
(UnityEngine.KeyCode a_key)
unity/Runity/World.cs:63
Method
InputKeyJustPressed
(UnityEngine.KeyCode a_key)
unity/Runity/World.cs:55
Method
InputKeyJustReleased
(UnityEngine.KeyCode a_key)
unity/Runity/World.cs:59
Method
Logging
()
unity/Runity/Logging.cs:8
Method
OnCollisionEnter
(Collision a_collision)
unity/Runity/CollisionTrackerComponent.cs:33
Method
OnCollisionExit
(Collision a_collision)
unity/Runity/CollisionTrackerComponent.cs:38
Method
OnCollisionStay
(Collision a_collision)
unity/Runity/CollisionTrackerComponent.cs:43
Method
OnTriggerEnter
(Collider a_collider)
unity/Runity/CollisionTrackerComponent.cs:48
Method
OnTriggerExit
(Collider a_collider)
unity/Runity/CollisionTrackerComponent.cs:53
Method
OnTriggerStay
(Collider a_collider)
unity/Runity/CollisionTrackerComponent.cs:58
Method
ParentTo
(UInt64 a_childId, UInt64 a_parentId)
unity/Runity/World.cs:88
Method
RunityBackend
( string a_gameLibName, ScriptablePrefabs a_prefabBindings, Level a_unityL
unity/Runity/Runity.cs:13
Method
RustyGameObject
(UnityEngine.GameObject a_gameObject)
unity/Runity/RustyGameObject.cs:9
Method
SpawnPrefab
(string a_name, UInt64 a_identifierBits)
unity/Runity/World.cs:100
Method
SpawnPrefabWithTransform
(string a_name, UInt64 a_identifierBits, CTransform a_transform)
unity/Runity/World.cs:77
Method
SpawnPrefabWithTransformAndParent
(string a_name, UInt64 a_identifierBits, CTransform a_transform, UInt64 a_parentIdentifier)
unity/Runity/World.cs:82
Method
Start
Start is called before the first frame update
unity/Runity/RunityMono.cs:13
Method
Update
()
unity/Runity/Runity.cs:24
Method
Update
()
unity/Runity/RunityMono.cs:21
Method
UploadComponentTextmeshui
(UInt64 a_identifierBits, string a_text)
unity/Runity/World.cs:117
Method
UploadComponentTransform
(UInt64 a_identifierBits, CTransform a_transform)
unity/Runity/World.cs:125
Method
World
(ScriptablePrefabs a_prefabBindings)
unity/Runity/World.cs:26
Method
add_event
Setup the application to manage events of type `T`. This is done by adding a `Resource` of type `Events::<T>`, and inserting a `Events::<T>::update_s
rust/shared/src/bevy_app_syncable.rs:577
Method
add_startup_stage
Adds a [`Stage`] with the given `label` to the last position of the [startup schedule](Self::add_default_stages). # Example ``` # use bevy_app::prel
rust/shared/src/bevy_app_syncable.rs:168
Method
add_startup_stage_after
Adds a [startup stage](Self::add_default_stages) with the given `label`, immediately after the stage labeled by `target`. The `target` label must ref
rust/shared/src/bevy_app_syncable.rs:194
Method
add_startup_stage_before
Adds a [startup stage](Self::add_default_stages) with the given `label`, immediately before the stage labeled by `target`. The `target` label must re
rust/shared/src/bevy_app_syncable.rs:225
Method
add_startup_system
Adds a system to the [startup stage](Self::add_default_stages) of the app's [`Schedule`]. For adding a system that runs for every frame, see [`add_sy
rust/shared/src/bevy_app_syncable.rs:386
Method
add_startup_system_set
Adds a [`SystemSet`] to the [startup stage](Self::add_default_stages) # Example ``` # use bevy_app::prelude::*; # use bevy_ecs::prelude::*; # # let
rust/shared/src/bevy_app_syncable.rs:413
Method
add_state
Adds a new [State] with the given `initial` value. This inserts a new `State<T>` resource and adds a new "driver" to [CoreStage::Update]. Each stage t
rust/shared/src/bevy_app_syncable.rs:486
Method
add_system_set
Adds a [`SystemSet`] to the [update stage](Self::add_default_stages). # Example ``` # use bevy_app::prelude::*; # use bevy_ecs::prelude::*; # # let
rust/shared/src/bevy_app_syncable.rs:311
Method
api_init
(Level a_unityLoggerLevel, Level a_writerLoggLevel)
unity/Runity/Runity.cs:43
Method
api_init_game_lib
game specific rust dll
unity/Runity/Runity.cs:47
Method
api_update
(Time a_time)
unity/Runity/Runity.cs:44
Method
as_log
(self: Box<Self>)
rust/runity/src/logging.rs:77
Method
as_log
(self: Box<Self>)
rust/shared/src/log_plugin.rs:70
Method
bind_log_callback
([MarshalAs(UnmanagedType.FunctionPtr)] DLog a_callback)
unity/Runity/Logging.cs:32
Function
collision_clear_events_system
( mut query: Query<&mut Collision, With<Prefab>>, )
rust/shared/src/components/collision.rs:19
Function
collision_handler
this should be slow due to world access is blocking not the best solution, but hey it works :P
rust/game/src/lib.rs:76
Method
config
(&self)
rust/runity/src/logging.rs:74
Method
config
(&self)
rust/shared/src/log_plugin.rs:67
Function
debug
(message: *const c_char)
rust/runity/src/logging.rs:98
Method
default
()
rust/game/src/lib.rs:32
Method
default
()
rust/shared/src/bevy_app_syncable.rs:54
Method
default
()
rust/shared/src/components/collision.rs:14
Function
despawn_gameobject
(entity_id: EntityId)
rust/runity/src/world.rs:136
Function
destroy_system
( mut commands: Commands, time: Res<bevy::core::Time>, mut query: Query<(Entity, &mut SelfDestruct
rust/game/src/particles.rs:19
Function
download_unity_transform
( mut transforms: Query<(&mut Prefab, &mut Transform)>, )
rust/shared/src/components/transform.rs:42
Method
empty
()
rust/shared/src/bevy_app_syncable.rs:77
Function
entity_track_collision
(entity_id: EntityId)
rust/runity/src/world.rs:172
Function
error
(message: *const c_char)
rust/runity/src/logging.rs:112
Method
flush
(&self)
rust/runity/src/logging.rs:67
Method
flush
(&self)
rust/shared/src/log_plugin.rs:60
next →
1–100 of 162, ranked by callers