Answer by Psymon
After a lot of optimization on the VRAM usage, my game's not crashing anymore. But I still don't know how to solve the SensorManager error .
View ArticleAnswer by Psymon
You need to call RollBombs in a coroutine. StartCoroutine(RollBombs());
View ArticleAnswer by Psymon
If the data stored in your spline is not serializable, the inspector will not save the contents. You may have to define other classes in order to make your spline serializable. For example an array of...
View ArticleAnswer by Psymon
You need to create a class MainActivity inherited from UnityPlayerActivity. Quick example : package com.example.myplugin; import com.unity3d.player.UnityPlayer; import...
View ArticleAnswer by Psymon
Resources.LoadAssetAtPath is only available in an editor script. You need to put your picture in a Resources/ folder and then load it with Resources.Load without the extension. Ex :...
View ArticleAnswer by Psymon
You can do a function like this : //c# void IntToIntArray(int numberToConvert, out int[] numberArray) { string sNumber = numberToConvert.ToString(); numberArray = new int[sNumber.Length]; for(int i =...
View ArticleAnswer by Psymon
Do the .entitlements file have the correct header ? It should be like this : com.apple.security.app-sandbox
View ArticleAnswer by Psymon
It keeps creating boxes each frame because you don't wait the seconds because you don't yield on your MakeBox function. Try something like this : void Update () { if(ready){ StartCoroutine(MakeBox());...
View ArticleAnswer by Psymon
If you have a pro version you can use the Unity profiler ( [http://docs.unity3d.com/Documentation/Manual/Profiler.html][1] ). Don't forget to check the Development Build option before building because...
View ArticleAnswer by Psymon
For the square operator you can use [Mathf.Pow][1] Then your calcul will look like this : y = 0.005f * Mathf.Pow( (x-200), 2 ); [1]: http://docs.unity3d.com/Documentation/ScriptReference/Mathf.Pow.html
View ArticleAnswer by Psymon
Only Range with float is maximally inclusive. Range with integer is not maximally inclusive. [Unity Documentation][1] [1]: http://docs.unity3d.com/Documentation/ScriptReference/Random.Range.html
View Article
More Pages to Explore .....