siyao
3 年前
当前提交
88a941ce
共有 38 个文件被更改,包括 626 次插入 和 744 次删除
-
239README-ZH.md
-
266README.md
-
2com.unity.uiwidgets/Runtime/Plugins/Android/libUIWidgets.so.meta
-
2com.unity.uiwidgets/Runtime/Plugins/osx/libUIWidgets.dylib.meta
-
2com.unity.uiwidgets/Runtime/painting/borders.cs
-
395com.unity.uiwidgets/Runtime/painting/edge_insets.cs
-
2com.unity.uiwidgets/Runtime/services/text_input.cs
-
8com.unity.uiwidgets/Runtime/ui/window.cs
-
4com.unity.uiwidgets/Runtime/widgets/navigator.cs
-
2com.unity.uiwidgets/Runtime/widgets/page_view.cs
-
34engine/Build.bee.cs
-
4engine/src/lib/ui/ui_mono_state.cc
-
2engine/src/lib/ui/ui_mono_state.h
-
3engine/src/lib/ui/window/window.cc
-
4engine/src/runtime/mono_state.cc
-
1engine/src/runtime/mono_state.h
-
6engine/src/shell/platform/unity/darwin/ios/unity_surface_manager.h
-
16engine/src/shell/platform/unity/darwin/ios/unity_surface_manager.mm
-
6engine/src/shell/platform/unity/darwin/macos/unity_surface_manager.h
-
31engine/src/shell/platform/unity/darwin/macos/unity_surface_manager.mm
-
12com.unity.uiwidgets/Runtime/Plugins/ios/custom_app_controller.h
-
21com.unity.uiwidgets/Runtime/Plugins/ios/custom_app_controller.m
-
14com.unity.uiwidgets/Runtime/Plugins/ios/device_screen.mm
-
37com.unity.uiwidgets/Runtime/Plugins/ios/device_screen.mm.meta
-
80com.unity.uiwidgets/Runtime/Plugins/ios/libUIWidgets.a.meta
-
78com.unity.uiwidgets/Runtime/Plugins/ios/CustomAppController.m.meta
-
73com.unity.uiwidgets/Runtime/Plugins/ios/libUIWidgets_d.a.meta
-
26com.unity.uiwidgets/Runtime/Plugins/ios/CustomAppController.m
-
0/com.unity.uiwidgets/Runtime/Plugins/Android/libUIWidgets.so.meta
-
0/com.unity.uiwidgets/Runtime/Plugins/osx/libUIWidgets.dylib.meta
|
|||
#ifndef CUSTOM_APP_CONTROLLER_H |
|||
#define CUSTOM_APP_CONTROLLER_H |
|||
|
|||
#import "UnityAppController.h" |
|||
|
|||
@interface CustomUIWidgetsAppController : UnityAppController |
|||
{ |
|||
} |
|||
- (void)shouldAttachRenderDelegate; |
|||
@end |
|||
|
|||
#endif |
|
|||
#if TARGET_OS_IOS |
|||
|
|||
#import "UnityAppController.h" |
|||
#import <TargetConditionals.h> |
|||
#import "custom_app_controller.h" |
|||
|
|||
extern void UnityPluginLoad(struct IUnityInterfaces *interfaces); |
|||
extern void UnityPluginUnload(void); |
|||
|
|||
#pragma mark - App controller subclasssing |
|||
|
|||
@implementation CustomUIWidgetsAppController |
|||
- (void)shouldAttachRenderDelegate; |
|||
{ |
|||
UnityRegisterRenderingPluginV5(&UnityPluginLoad, &UnityPluginUnload); |
|||
} |
|||
@end |
|||
|
|||
IMPL_APP_CONTROLLER_SUBCLASS(CustomUIWidgetsAppController); |
|||
|
|||
#endif |
|
|||
#import <UIKit/UIKit.h> |
|||
#import "uiwidgets_device.h" |
|||
|
|||
extern "C" |
|||
{ |
|||
float IOSDeviceScaleFactor() |
|||
{ |
|||
float scale = [[UIScreen mainScreen] scale] * 1.0; |
|||
if ([UIWidgetsDevice NeedScreenDownSample]) { |
|||
scale *= 0.8696; |
|||
} |
|||
return scale; |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 8020a323e242b4491be0804f10888fdc |
|||
PluginImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
iconMap: {} |
|||
executionOrder: {} |
|||
defineConstraints: [] |
|||
isPreloaded: 0 |
|||
isOverridable: 1 |
|||
isExplicitlyReferenced: 0 |
|||
validateReferences: 1 |
|||
platformData: |
|||
- first: |
|||
Any: |
|||
second: |
|||
enabled: 0 |
|||
settings: {} |
|||
- first: |
|||
Editor: Editor |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
DefaultValueInitialized: true |
|||
- first: |
|||
iPhone: iOS |
|||
second: |
|||
enabled: 1 |
|||
settings: {} |
|||
- first: |
|||
tvOS: tvOS |
|||
second: |
|||
enabled: 1 |
|||
settings: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: fdd21868197004ea18940531d7e096ef |
|||
PluginImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
iconMap: {} |
|||
executionOrder: {} |
|||
defineConstraints: [] |
|||
isPreloaded: 0 |
|||
isOverridable: 1 |
|||
isExplicitlyReferenced: 0 |
|||
validateReferences: 1 |
|||
platformData: |
|||
- first: |
|||
: Any |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
Exclude Android: 1 |
|||
Exclude Editor: 1 |
|||
Exclude Linux64: 1 |
|||
Exclude OSXUniversal: 1 |
|||
Exclude Win: 1 |
|||
Exclude Win64: 1 |
|||
Exclude iOS: 0 |
|||
- first: |
|||
Android: Android |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
CPU: ARMv7 |
|||
- first: |
|||
Any: |
|||
second: |
|||
enabled: 0 |
|||
settings: {} |
|||
- first: |
|||
Editor: Editor |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
CPU: AnyCPU |
|||
DefaultValueInitialized: true |
|||
OS: AnyOS |
|||
- first: |
|||
Standalone: Linux64 |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
CPU: None |
|||
- first: |
|||
Standalone: OSXUniversal |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
CPU: None |
|||
- first: |
|||
Standalone: Win |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
CPU: None |
|||
- first: |
|||
Standalone: Win64 |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
CPU: None |
|||
- first: |
|||
iPhone: iOS |
|||
second: |
|||
enabled: 1 |
|||
settings: |
|||
AddToEmbeddedBinaries: false |
|||
CPU: AnyCPU |
|||
CompileFlags: |
|||
FrameworkDependencies: |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: f00e5af3860d8467eb47452a2962aa84 |
|||
PluginImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
iconMap: {} |
|||
executionOrder: {} |
|||
defineConstraints: [] |
|||
isPreloaded: 0 |
|||
isOverridable: 1 |
|||
isExplicitlyReferenced: 0 |
|||
validateReferences: 1 |
|||
platformData: |
|||
- first: |
|||
: Any |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
Exclude Android: 1 |
|||
Exclude Editor: 1 |
|||
Exclude Linux64: 1 |
|||
Exclude OSXUniversal: 1 |
|||
Exclude Win: 1 |
|||
Exclude Win64: 1 |
|||
Exclude iOS: 0 |
|||
- first: |
|||
Android: Android |
|||
second: |
|||
enabled: 0 |
|||
settings: {} |
|||
- first: |
|||
Any: |
|||
second: |
|||
enabled: 0 |
|||
settings: {} |
|||
- first: |
|||
Editor: Editor |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
DefaultValueInitialized: true |
|||
- first: |
|||
Standalone: Linux64 |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
CPU: None |
|||
- first: |
|||
Standalone: OSXUniversal |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
CPU: x86 |
|||
- first: |
|||
Standalone: Win |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
CPU: None |
|||
- first: |
|||
Standalone: Win64 |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
CPU: None |
|||
- first: |
|||
iPhone: iOS |
|||
second: |
|||
enabled: 1 |
|||
settings: {} |
|||
- first: |
|||
tvOS: tvOS |
|||
second: |
|||
enabled: 1 |
|||
settings: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: f3c2dcb31fecb499a9df10bb178ad9b4 |
|||
PluginImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
iconMap: {} |
|||
executionOrder: {} |
|||
defineConstraints: [] |
|||
isPreloaded: 0 |
|||
isOverridable: 1 |
|||
isExplicitlyReferenced: 0 |
|||
validateReferences: 1 |
|||
platformData: |
|||
- first: |
|||
: Any |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
Exclude Android: 1 |
|||
Exclude Editor: 1 |
|||
Exclude Linux64: 1 |
|||
Exclude OSXUniversal: 1 |
|||
Exclude Win: 1 |
|||
Exclude Win64: 1 |
|||
Exclude iOS: 0 |
|||
- first: |
|||
Android: Android |
|||
second: |
|||
enabled: 0 |
|||
settings: {} |
|||
- first: |
|||
Any: |
|||
second: |
|||
enabled: 0 |
|||
settings: {} |
|||
- first: |
|||
Editor: Editor |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
DefaultValueInitialized: true |
|||
- first: |
|||
Standalone: Linux64 |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
CPU: None |
|||
- first: |
|||
Standalone: OSXUniversal |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
CPU: x86 |
|||
- first: |
|||
Standalone: Win |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
CPU: None |
|||
- first: |
|||
Standalone: Win64 |
|||
second: |
|||
enabled: 0 |
|||
settings: |
|||
CPU: None |
|||
- first: |
|||
iPhone: iOS |
|||
second: |
|||
enabled: 1 |
|||
settings: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
#if TARGET_OS_IOS |
|||
|
|||
#import "UnityAppController.h" |
|||
#import <TargetConditionals.h> |
|||
|
|||
extern void UnityPluginLoad(struct IUnityInterfaces *interfaces); |
|||
extern void UnityPluginUnload(void); |
|||
|
|||
#pragma mark - App controller subclasssing |
|||
|
|||
@interface CustomAppController : UnityAppController |
|||
{ |
|||
} |
|||
- (void)shouldAttachRenderDelegate; |
|||
@end |
|||
|
|||
@implementation CustomAppController |
|||
- (void)shouldAttachRenderDelegate; |
|||
{ |
|||
UnityRegisterRenderingPluginV5(&UnityPluginLoad, &UnityPluginUnload); |
|||
} |
|||
@end |
|||
|
|||
IMPL_APP_CONTROLLER_SUBCLASS(CustomAppController); |
|||
|
|||
#endif |
部分文件因为文件数量过多而无法显示
撰写
预览
正在加载...
取消
保存
Reference in new issue