how to use Swift Framework In Unity?

I'm trying to use an iOS native framework inside Unity, but I don't know how. Inside my C# script, I call a native function like this : [DllImport ("__Internal")] private static extern void framework_hello(); void Start () { framew...
more »

2017-09-18 11:09 (0) Answers

Updating git from a version without .git history

My collaborator is having trouble with git and we have decided to work on our unity project through unity collab. I however, push milestones to bitbucket (git) to keep track of things. My collaborator's version is synched through unity (not the ....
more »

2017-09-01 06:09 (1) Answers

unity smartfoxserver connection error

I'm using Smartfoxserver api on Unity3d, it was working fine before I recovery my macbook, but now gives a connection error as below : Http error creating http connection: System.Net.Sockets.SocketException: Connection refused at System.Net.Socket...
more »

2017-08-19 21:08 (0) Answers

unity2d create a one side collider

I have a maplestory game demo I need character can jump through a collider from one side the collider in my character and ground are like this: character:capsulecollider2d ground:polygoncollider2d so the character can stand on the ground ...
more »

2017-08-10 18:08 (1) Answers

Using dynamic keyword in Unity

I am trying to implement GraphQL into Unity3D (version 2017.1.0f3 Personal). I am using .NET 4.6 (Experimental), but despite this, Unity does not support dynamic keyword. Which is odd, since .NET 4.0 it is the part of .NET. Except in Unity. I was goo...
more »

2017-08-10 16:08 (1) Answers

Read objects from left to right

I wrote a C# Script in Unity, which detects all visible objects. Now I would like to output them from left to right, as how they are positioned in the scene. Each objects has a number and yet the script outputs the objects by ascending order. My id...
more »

2017-07-27 19:07 (2) Answers

Save Timer HighScore Unity C#

I am currently working on a game were it has a timer go and the best time is the one that can complete the course the quickest. For example, the first run if I get 40 seconds that will be saved as the high score but if the second run I get 30 seconds...
more »

2017-07-23 08:07 (3) Answers

Marching Cubes generating holes in mesh

I'm working on a Marching Cubes implementation in Unity. My code is based on Paul Bourke's code actually with a lot of modifications, but anyway i'm checking if a block at a position is null if it is than a debug texture will be placed on it. This...
more »

2017-06-26 14:06 (0) Answers

(IOS) XCode - Lexical or Preprocessor Issue

I just finishing building a game on Unity 5.6 to work on IOS, however when I open it on XCode and build it onto my iPhone I get this error. I have looked around and couldn't find a fix and hopefully you guys could help me. So this is what I have do...
more »

2017-06-21 09:06 (0) Answers