unity-swift
unity-swift copied to clipboard
Native plugin to write native code in Swift for Unity.
File is not generated automatically. Option exists in project.pbxproj: ``` ag SWIFT_OBJC_INTERFACE_HEADER_NAME Unity-iPhone.xcodeproj/project.pbxproj 1349: SWIFT_OBJC_INTERFACE_HEADER_NAME = "unityswift-Swift.h"; 1393: SWIFT_OBJC_INTERFACE_HEADER_NAME = "unityswift-Swift.h"; 1560: SWIFT_OBJC_INTERFACE_HEADER_NAME = "unityswift-Swift.h"; 1672: SWIFT_OBJC_INTERFACE_HEADER_NAME = "unityswift-Swift.h"; ```...
UnityFrameworkの変更に対応しました #6 このプルリクエストには #5 の更新も含まれます。
It doesn't work due to UnityFramework. Need improvement.
Unityバージョンを2019.2.0f1 にアプデートして、SwiftのソースコードをSwift 5に変更しました。
Xcode: 10.2 Swift Language Version: 4  `@objc` attribute is required to call from obj-c source code in Swift4. https://github.com/apple/swift-evolution/blob/master/proposals/0160-objc-inference.md And Xcode 10.2 can only use...
The UnitySwift-Bridging-Header.h is not getting copied automatically to my build directory. Is there a specific setting I need to check?
Example describes implementation .... #import "unityswift-Swift.h" // Required // This header file is generated automatically when Xcode build runs. How does unityswift-Swift get generated? I can see how the bridging...
#import "unityswift-Swift.h" // Required // This header file is generated automatically when Xcode build runs. How does unityswift-Swift get generated? am using XCode 9.2 and Swift 4.0. any step i...