Skip to content

Instantly share code, notes, and snippets.

View imAliAsad's full-sized avatar
:octocat:

Ali Asad imAliAsad

:octocat:
View GitHub Profile
@imAliAsad
imAliAsad / GamepadFlycam.cs
Created November 1, 2018 11:31
Use gamepad controller to fly free camera in gameview. This is the improved and customized script of Unity's ExtendedFlycam script
using System;
using UnityEngine;
using System.Collections;
public class GamepadFlycam : MonoBehaviour
{
public float cameraSensitivity = 90;
@imAliAsad
imAliAsad / GamepadFlycam.cs
Last active September 6, 2021 17:58
Use gamepad controller to fly free camera in gameview. This is the improved and customized script of Unity's ExtendedFlycam script
using System;
using UnityEngine;
using System.Collections;
public class GamepadFlycam : MonoBehaviour
{
public float cameraSensitivity = 90;
@imAliAsad
imAliAsad / SelectionSquare.cs
Created November 6, 2018 04:52
Create a rectangle selection behavior in unity like in strategy games
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Tutorial
{
public class SelectionSquare : MonoBehaviour
{
public Camera Camera;
[SerializeField]
@imAliAsad
imAliAsad / tensorflowConfig.py
Created November 20, 2018 08:18
Tensorflow configuration
import tensorflow as tf
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
@imAliAsad
imAliAsad / command.py
Last active November 22, 2018 10:52
Important commands for machine learning
p5 generate -b projectName
Use ServerName = (LocalDb)\MSSQLLocalDB