Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a04c190

Browse files
Make value types fit into the type hierarchy better
- Managed structs no longer derive from ValueType - Enums are now structs with const static fields for their enumerators - Primitives are now structs in System and in all APIs - Boxing is now available for all target reference types via explicit conversion operators Use primitive types (e.g. int32_t) in all bindings functions instead of structs (e.g. System::Int32) Upgrade to Unity 2017.3 Update README
1 parent 0f37ca2 commit a04c190

File tree

9 files changed

+16556
-13113
lines changed

9 files changed

+16556
-13113
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ C++ is the standard language for video games as well as many other fields. By pr
101101
* Arrays (single- and multi-dimensional)
102102
* Delegates
103103
* Events
104-
* Boxing and unboxing (e.g. boxing `int` to `object`, casting `object` to `int`)
104+
* Boxing and unboxing (e.g. casting `int` to `object` and visa versa)
105105
* Implementing C# interfaces with C++ classes
106106
* Deriving from C# classes with C++ classes
107107
* Default parameters

‎Unity/Assets/NativeScript/Bindings.cs

Lines changed: 873 additions & 766 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /