usebevy::prelude::*;/// A component that represents a script.
#[derive(Component)]pubstructScript<A: Asset>{pubscript:Handle<A>,
}impl<A: Asset>Script<A>{/// Create a new script component from a handle to a [Script] obtained using [AssetServer].
pubfnnew(script:Handle<A>)->Self{Self{ script }}}