Skip to content

Instantly share code, notes, and snippets.

View alialacan's full-sized avatar
🎯
Focusing

Ali ALACAN alialacan

🎯
Focusing
View GitHub Profile
@alialacan
alialacan / add_git_submodule.txt
Last active September 7, 2022 11:18 — forked from deepakpk009/add_git_submodule.txt
how to add a git android library project as a sub module, to a project
how to add a git android library project as a sub module, to a project
1. create an android project
2. add to vcs (vcs - import into version control - create git repository)
3. goto terminal and add sub-module - make sure the location folder name is different than the original project name
git submodule add https://XXX@bitbucket.org/YYY/ZZZ.git
4. goto file menu - project structure
5. click '+' on left top
6. select 'import' from bottom left
@alialacan
alialacan / LocalizationManager.cs
Created March 30, 2018 11:20
LocalizationManager with Android Support
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public class LocalizationManager : MonoBehaviour
{
public static LocalizationManager instance;
private Dictionary<string, string> localizedText;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RoadController : MonoBehaviour
{
public List<GameObject> safeRoads;
public List<GameObject> roadBlocks;
@alialacan
alialacan / SwipeDetector.cs
Last active November 7, 2024 04:00
Simple Swipe Detection Script For Unity3D Mobile Development
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SwipeDetector : MonoBehaviour
{
private Vector2 fingerDownPos;
private Vector2 fingerUpPos;