Skip to content

Instantly share code, notes, and snippets.

View EdSkamor's full-sized avatar

Edward Skamor EdSkamor

  • Earth (temporrary)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am edskamor on github.
  • I am skamor (https://keybase.io/skamor) on keybase.
  • I have a public key whose fingerprint is E6BE B483 3CBB 8AD6 45C7 E2E3 BF77 2CFA 487A C8D9

To claim this, I am signing this object:

@EdSkamor
EdSkamor / EmptyTypes
Created September 14, 2017 07:18
FileOneInDay3_Dev4Play
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MyFirstScriptD3 : MonoBehaviour {
private int nameOneInt;
private float nameTwoFloat;
private string nameThreeString;
private bool nameFourBool;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AllNumbersFrom0To1000Equas3 : MonoBehaviour {
public int Suma = 0;
public int iloscPodzielnych;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput;
public class MySecondScript : MonoBehaviour
{
@EdSkamor
EdSkamor / cubeContralller
Created September 14, 2017 09:42
if u got a platform, and u connect this code to cube that is on it, it will run!
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CubeController : MonoBehaviour {
//private float m_maxSpeed = 10;
private Transform m_thisTransform;
[SerializeField] float m_maxSpeed = 10;
@EdSkamor
EdSkamor / cubeControll
Created September 14, 2017 09:56
controllin` cube in vertical and horizontal, the script must be in the cube component
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CubeControll : MonoBehaviour {
private float m_vert;
private float m_horz;
// Use this for initialization
@EdSkamor
EdSkamor / CubeControllWithRotation
Created September 14, 2017 10:15
This same as last but with Rotating Cube
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CubeControll : MonoBehaviour {
private float m_vert;
private float m_horz;
private float m_rotat;
private float mouseX;
@EdSkamor
EdSkamor / HEHEE
Created September 15, 2017 06:44
FixedController
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput;
public class What3 : MonoBehaviour
{
public float m_maxSpeed = 10f;
public float m_rotSpeed = 5f;
private Transform m_transform = null;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput;
public class TestCursor : MonoBehaviour
{
public float m_maxSpeed = 10f;
public float m_rotSpeed = 5f;
private Transform m_transform = null;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput;
public class chaCon : MonoBehaviour {
private Rigidbody m_rb;
[SerializeField] float m_speed = 10f;