From a1e9304dc31980703446bdb33246e314bafd3b15 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Tue, 24 Dec 2024 00:54:31 -0500 Subject: Switched to bevy_mod_scripting, bevy 0.15 update --- src/actor/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/actor') diff --git a/src/actor/mod.rs b/src/actor/mod.rs index 9d0af43..eabf0fe 100644 --- a/src/actor/mod.rs +++ b/src/actor/mod.rs @@ -6,7 +6,7 @@ use std::sync::{Arc, Mutex}; use bevy::{prelude::*, utils::HashMap}; use lazy_static::lazy_static; use resources::FunctionLibrary; -use yarnspinner::{core::{LineId, YarnValue}, runtime::Dialogue}; +use yarnspinner::core::YarnValue; pub mod components; pub mod events; @@ -23,6 +23,7 @@ lazy_static! { /// Plugin which controls the behavior of actors pub struct ActorPlugin { + /// Callback for registering custom yarnspinner functions pub custom_function_registration: Option, } -- cgit v1.2.3