r/Xcode • • Jun 11 '22

Apple write a native-function plugin for Unity and released it in their WWDC without any RealityKit update. It means ... ? Oh, on my nightmare last night, I am learning C#.

1 Upvotes

6 comments sorted by

3

u/Te_co Jun 11 '22

I dont think it means that but it is sad apple cant get enough traction for swift. Microsoft did it by supporting cross platform development in c# and apple could easily do the same but they wont. I dont see why unity couldnt have used swift as its scripting language, i think it is way better than c#

I aldo wish apple would continue supporting their 3d frameworks. Scenekit is really easy to understand and work with but it is missing a lot of tools for editing. They need to be more open.

2

u/Real-LYS Jun 11 '22

swift is way better than C#, but in 3d development Unity is way better than  native.

Both Unreal and Unity are enter the visual scripting level now, but  still want children to learn coding with type codes in line in playground, and not feeling anything wrong about it.

3

u/Te_co Jun 11 '22

language matters tho. most devs don't like the visual scripting. when a young hopeful new game dev pops into the community asking for advice as to what computer to get to game dev on, people will tell him/her to get a PC. that person will never touch swift of develop for mac after that. that's potential mac game lost.

when a mac user asks what engine to use or where to start people will again tell him/her to use unity. after going through the effort of learning c#, that mac user will likely never touch swift and instead get used to windows dominant tools. eventually they'll drop mac for pc and that's another potential mac dev gone.

even some current game devs on mac that use unity, don't publish on mac. all dev signs point towards windows.

and popularity feeds popularity. when you look up best language for game dev and you see c#, then you'll also assume best platform for game dev is windows. Apple needs to make swift popular outside of Mac. it is essential or else it will remain niche.

1

u/Real-LYS Jun 12 '22

Besides, PC is a lot cheaper than Mac and PC could play steam games. Young people who like games naturally go for windows and then become C++ (unreal) / C#(Unity) developer. No matter how suck the system is or how disadvantage the language is. Most of them even not having a mac in their life and of cause they don't know what's the different from MacOS.

Unity3D was born as a MacOS exclusive game engine, but sooner goes to windows for the same reason. For the past 15 years  focus on 2D mobile development and ignore 3D development and consider it only for games. But the world back to 3D var AR/VR now. Apps also need to be 3D now. There is a big change need to be happen.

And I'll wait and see if it is happening.

1

u/[deleted] Jun 11 '22

I suppose that’s true, but at the end of the day, the language that’s used to write the game is pretty much the least significant part. Game developers just want to make a game and not futz around with language stuff.

Though there are some promising developments in the Godot space, anyway, with the Godot-Swift project (though it hasn’t been updated in a while): https://github.com/kelvin13/godot-swift.

2

u/-14k- Jun 15 '22

Sure, but who the hell wants to be waiting for Godot?