Stay updated with unity development and framework - BLOG

Unity Development

Neel Gajjar - Unity Developer
By: Neel Gajjar - Unity Developer

Reduce a size of APK and IPA – Unity 3d

For reducing APK size:In Unity 5.6.0f3 I have created a simple "Hello world" program and build an APK file, it consumes 21.2 MB at first but to reduce the size you have to follow these steps:1) Player settings > other settings > Optimization > API compatibility level > .NET 2.0 Subset.To avoid memory wastage, Unity also supports the .NET 2.0 Subset API profile. This is very similar to the Mono "MonoTouch" profile, so many limitations...
Neel Gajjar - Unity Developer
By: Neel Gajjar - Unity Developer

Send Email From Your Game - Unity3D

In your game, it might be possible that user directly wants to send an email to feedback or any suggestions to game support.For that, there is a simple code implementation,Attach the SendMailClass script to your active game object & use sendEMailToSingleRecipient() for sending email to single recipient.Use sendEMailToMultypleRecipient() to send multiple recipient.In sendEMailToMultypleRecipient() we are using an array of email id which is a...
Neel Gajjar - Unity Developer
By: Neel Gajjar - Unity Developer

Unity3D vs. Cocos2DX

License: Unity 3D is paid while Cocos2DX is an open-source game engine. Community Support: Unity3D has huge community support in comparison to Cocos2DX. Famous Games: In Cocos2DX: Many Famous games like 2048, BADLAND is developed using Cocos2DX. In Unity3D: Many famous games like Pokémon Go, monument valley, Temple Run 2, Angry Birds Epic are developed on Unity. Size: The minimum size of a game developed on Cocos2DX-x can be as low as...
Neel Gajjar - Unity Developer
By: Neel Gajjar - Unity Developer

Send SMS From Your Game - Unity3D

In the game, you can use "prefer the game" feature or invite the friend(s) who is not using the game. Then you can send friends the SMS with game information.For achieving this, you have to attach the SendSMSClass class to your active game object & use - sendSingleSMS() - for sending SMS to single recipient &- sendMultipleSMS() - for sending SMS to multiple recipients.This functions will open the default native SMS app with...
Neel Gajjar - Unity Developer
By: Neel Gajjar - Unity Developer

Use Debug.Break() to pause the editor

Use Debug.Break() in your code to pause the editorDid you know that you can control the unity editor play state directly from your code?Suppose, there is a moment where you want to pause the execution to check your object values. In this situation use Debug.Break().Sample code :using System.Collections;using System.Collections.Generic;using UnityEngine;public class DebugPauseScript : MonoBehaviour {    public bool problem =...
Neel Gajjar - Unity Developer
By: Neel Gajjar - Unity Developer

You will be amazed to know that these 5 games are developed with Unity 3D

1. Pokémon GODeveloped & published by Niantic; when both Niantic & Nintendo collaborated with The Pokémon Company & the game was initially released in selected countries during July 2016.Pokémon GO needs no introduction as this game took over the world soon after its release.Pokémon Go is an augmented reality location-based game for iOS and Android devices. The concept is same as it was in the animated series of...
Neel Gajjar - Unity Developer
By: Neel Gajjar - Unity Developer

Integrate Banner Ad for iOS & Android using AdMob

Requirements- Unity 4 or higher- To deploy on iOS       - Xcode 7.0 or higher   - Google Mobile Ads SDK 7.7.0 or higher- To deploy on Android   - Android SDK 3.2 or higher   - Google Play services 7.5 or higherDownload GoogleMobileAds.unitypackageImport the plugin into your game1. Open your project in the Unity editor.Select Assets > Import Package > Custom Package and find...
Neel Gajjar - Unity Developer
By: Neel Gajjar - Unity Developer

Integrate Interstitial Ad for iOS & Android using AdMob

Requirements- Unity 4 or higher- To deploy on iOS       - Xcode 7.0 or higher   - Google Mobile Ads SDK 7.7.0 or higher- To deploy on Android   - Android SDK 3.2 or higher   - Google Play services 7.5 or higherDownloadGoogleMobileAds.unitypackageImport the plugin into your game1. Open your project in the Unity editor.Select Assets > Import Package > Custom Package and find the...
Neel Gajjar - Unity Developer
By: Neel Gajjar - Unity Developer

Submit a Game to AppStore - For beginners

Steps to submit a Game to AppStore1. Switch platform as iOS and then make a build2. If you make a build in your Windows PC then you have to take that file to MAC and in the terminal, you have to give a permission to MapFileParser.sh    To give permission you have to write     xyz$ chmod + x/path/MapFileParser.sh3. Go to your Apple Developer Account and go to identifiers and click on + to add new...