Skip to content

Commit 5792890

Browse files
committed
remove "pub use"
1 parent dda91b1 commit 5792890

File tree

2 files changed

+1
-5
lines changed
  • unity-native-plugin/src
  • unity-native-plugin-sample/src

2 files changed

+1
-5
lines changed

unity-native-plugin-sample/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ extern "system" fn FillTexture(unity_texture: *mut IUnknown, x: f32, y: f32, z:
1717
Err(_) => return,
1818
};
1919

20-
let device = match unity_native_plugin::UnityInterfaces::get_unity_interfaces()
20+
let device = match unity_native_plugin::interface::UnityInterfaces::get_unity_interfaces()
2121
.get_interface::<UnityGraphicsD3D11>()
2222
{
2323
Some(t) => t,

unity-native-plugin/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ pub mod interface;
88
#[cfg(feature = "d3d11")]
99
pub use d3d11::UnityGraphicsD3D11;
1010

11-
pub use enums::*;
12-
pub use graphics::{UnityGraphics, UnityGraphicsDeviceEventCallback};
13-
pub use interface::{RenderBuffer, TextureID, UnityInterface, UnityInterfaces};
14-
1511
#[no_mangle]
1612
#[allow(non_snake_case)]
1713
extern "system" fn UnityPluginLoad(

0 commit comments

Comments
 (0)