MCPcopy Create free account

hub / github.com/TanTanDev/runity / functions

Functions162 in github.com/TanTanDev/runity

↓ 16 callersMethodadd_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 callersMethodadd_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 callersMethodadd_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 callersMethodinsert_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 callersMethodstage
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 callersMethodupdate
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 callersMethodadd_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 callersMethodinto
(self)
rust/shared/src/components/transform.rs:15
↓ 2 callersMethodlevel
(&self)
rust/runity/src/logging.rs:71
↓ 2 callersMethodlevel
(&self)
rust/shared/src/log_plugin.rs:64
↓ 1 callersMethodDownloadEntityCollisionEvents
()
unity/Runity/World.cs:180
↓ 1 callersMethodUpdate
()
unity/Runity/Runity.cs:37
↓ 1 callersMethodadd_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 callersMethodadd_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 callersMethodadd_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 callersMethodadd_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 callersMethodadd_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 callersMethodadd_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 callersMethodadd_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 callersFunctionapi_init
(unity_log_level: LevelFilter, writer_log_level: LevelFilter)
rust/runity/src/api.rs:65
↓ 1 callersFunctionapi_init_game_lib
(lib_name: *const c_char)
rust/runity/src/api.rs:29
↓ 1 callersFunctionapi_update
(time: Time)
rust/runity/src/api.rs:73
↓ 1 callersFunctionbind_log_callback
(callback: extern fn(LogMessage))
rust/runity/src/logging.rs:43
↓ 1 callersMethodbuild
(&self, app: &mut App)
rust/game/src/score.rs:27
↓ 1 callersMethodenabled
(&self, metadata: &Metadata)
rust/runity/src/logging.rs:54
↓ 1 callersMethodenabled
(&self, metadata: &Metadata)
rust/shared/src/log_plugin.rs:38
↓ 1 callersMethodinit
(&mut self, app: &mut shared::bevy_app_syncable::App)
rust/game/src/lib.rs:124
↓ 1 callersMethodinit_library
(&mut self, lib_name: &str)
rust/runity/src/game.rs:98
↓ 1 callersMethodsetup_bevy_world
(&mut self)
rust/runity/src/game.rs:61
↓ 1 callersFunctionstring_to_cstring_ptr
only use for passing to other language
rust/shared/src/utils.rs:6
↓ 1 callersMethodupdate_bevy_world
(&mut self)
rust/runity/src/game.rs:93
↓ 1 callersFunctionworld_bind_despawn_gameobject_callback
(callback: extern fn(EntityId))
rust/runity/src/world.rs:61
↓ 1 callersFunctionworld_bind_entity_track_collision
(callback: extern fn(EntityId))
rust/runity/src/world.rs:97
↓ 1 callersFunctionworld_bind_input_key_held
(callback: extern fn(KeyCode) -> bool)
rust/runity/src/world.rs:91
↓ 1 callersFunctionworld_bind_input_key_just_pressed
(callback: extern fn(KeyCode) -> bool)
rust/runity/src/world.rs:79
↓ 1 callersFunctionworld_bind_input_key_just_released
(callback: extern fn(KeyCode) -> bool)
rust/runity/src/world.rs:85
↓ 1 callersFunctionworld_bind_spawn_prefab_callback
(callback: extern fn(*const c_char, EntityId))
rust/runity/src/world.rs:43
↓ 1 callersFunctionworld_bind_spawn_prefab_with_transform_and_parent_callback
(callback: extern fn(*const c_char, EntityId, CTransform, EntityId))
rust/runity/src/world.rs:55
↓ 1 callersFunctionworld_bind_spawn_prefab_with_transform_callback
(callback: extern fn(*const c_char, EntityId, CTransform))
rust/runity/src/world.rs:49
↓ 1 callersFunctionworld_bind_upload_component_textmeshui_callback
(callback: extern fn(EntityId, *const c_char))
rust/runity/src/world.rs:73
↓ 1 callersFunctionworld_bind_upload_component_transform_callback
(callback: extern fn(EntityId, CTransform))
rust/runity/src/world.rs:67
↓ 1 callersFunctionworld_download_entity_collision_event
(entity_id: EntityId, collision_event: CollisionEvent)
rust/runity/src/world.rs:103
MethodApi
(string a_gameLibName, Level a_unityLoggerLevel, Level a_writerLoggerLevel)
unity/Runity/Runity.cs:32
MethodCallbackLog
(LogMessage a_message)
unity/Runity/Logging.cs:13
MethodCollisionEvent
(UInt64 a_ownerEntityId, UInt64 a_otherEntityId, CollisionType a_collisionType)
unity/Runity/CollisionTrackerComponent.cs:12
MethodDespawnGameObject
(UInt64 a_identifierBits)
unity/Runity/World.cs:67
MethodEntityTrackCollision
(UInt64 a_identifierBits)
unity/Runity/World.cs:141
MethodGetComponentFromId
(int a_componentId)
unity/Runity/RustyGameObject.cs:14
MethodInputKeyHeld
(UnityEngine.KeyCode a_key)
unity/Runity/World.cs:63
MethodInputKeyJustPressed
(UnityEngine.KeyCode a_key)
unity/Runity/World.cs:55
MethodInputKeyJustReleased
(UnityEngine.KeyCode a_key)
unity/Runity/World.cs:59
MethodLogging
()
unity/Runity/Logging.cs:8
MethodOnCollisionEnter
(Collision a_collision)
unity/Runity/CollisionTrackerComponent.cs:33
MethodOnCollisionExit
(Collision a_collision)
unity/Runity/CollisionTrackerComponent.cs:38
MethodOnCollisionStay
(Collision a_collision)
unity/Runity/CollisionTrackerComponent.cs:43
MethodOnTriggerEnter
(Collider a_collider)
unity/Runity/CollisionTrackerComponent.cs:48
MethodOnTriggerExit
(Collider a_collider)
unity/Runity/CollisionTrackerComponent.cs:53
MethodOnTriggerStay
(Collider a_collider)
unity/Runity/CollisionTrackerComponent.cs:58
MethodParentTo
(UInt64 a_childId, UInt64 a_parentId)
unity/Runity/World.cs:88
MethodRunityBackend
( string a_gameLibName, ScriptablePrefabs a_prefabBindings, Level a_unityL
unity/Runity/Runity.cs:13
MethodRustyGameObject
(UnityEngine.GameObject a_gameObject)
unity/Runity/RustyGameObject.cs:9
MethodSpawnPrefab
(string a_name, UInt64 a_identifierBits)
unity/Runity/World.cs:100
MethodSpawnPrefabWithTransform
(string a_name, UInt64 a_identifierBits, CTransform a_transform)
unity/Runity/World.cs:77
MethodSpawnPrefabWithTransformAndParent
(string a_name, UInt64 a_identifierBits, CTransform a_transform, UInt64 a_parentIdentifier)
unity/Runity/World.cs:82
MethodStart
Start is called before the first frame update
unity/Runity/RunityMono.cs:13
MethodUpdate
()
unity/Runity/Runity.cs:24
MethodUpdate
()
unity/Runity/RunityMono.cs:21
MethodUploadComponentTextmeshui
(UInt64 a_identifierBits, string a_text)
unity/Runity/World.cs:117
MethodUploadComponentTransform
(UInt64 a_identifierBits, CTransform a_transform)
unity/Runity/World.cs:125
MethodWorld
(ScriptablePrefabs a_prefabBindings)
unity/Runity/World.cs:26
Methodadd_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
Methodadd_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
Methodadd_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
Methodadd_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
Methodadd_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
Methodadd_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
Methodadd_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
Methodadd_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
Methodapi_init
(Level a_unityLoggerLevel, Level a_writerLoggLevel)
unity/Runity/Runity.cs:43
Methodapi_init_game_lib
game specific rust dll
unity/Runity/Runity.cs:47
Methodapi_update
(Time a_time)
unity/Runity/Runity.cs:44
Methodas_log
(self: Box<Self>)
rust/runity/src/logging.rs:77
Methodas_log
(self: Box<Self>)
rust/shared/src/log_plugin.rs:70
Methodbind_log_callback
([MarshalAs(UnmanagedType.FunctionPtr)] DLog a_callback)
unity/Runity/Logging.cs:32
Functioncollision_clear_events_system
( mut query: Query<&mut Collision, With<Prefab>>, )
rust/shared/src/components/collision.rs:19
Functioncollision_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
Methodconfig
(&self)
rust/runity/src/logging.rs:74
Methodconfig
(&self)
rust/shared/src/log_plugin.rs:67
Functiondebug
(message: *const c_char)
rust/runity/src/logging.rs:98
Methoddefault
()
rust/game/src/lib.rs:32
Methoddefault
()
rust/shared/src/bevy_app_syncable.rs:54
Methoddefault
()
rust/shared/src/components/collision.rs:14
Functiondespawn_gameobject
(entity_id: EntityId)
rust/runity/src/world.rs:136
Functiondestroy_system
( mut commands: Commands, time: Res<bevy::core::Time>, mut query: Query<(Entity, &mut SelfDestruct
rust/game/src/particles.rs:19
Functiondownload_unity_transform
( mut transforms: Query<(&mut Prefab, &mut Transform)>, )
rust/shared/src/components/transform.rs:42
Methodempty
()
rust/shared/src/bevy_app_syncable.rs:77
Functionentity_track_collision
(entity_id: EntityId)
rust/runity/src/world.rs:172
Functionerror
(message: *const c_char)
rust/runity/src/logging.rs:112
Methodflush
(&self)
rust/runity/src/logging.rs:67
Methodflush
(&self)
rust/shared/src/log_plugin.rs:60
next →1–100 of 162, ranked by callers