Skip to content

Instantly share code, notes, and snippets.

@keithweaver
keithweaver / add-prefab-game-object-to-scene.cs
Last active December 28, 2023 03:36
Create a new game object/prefab in a scene using C# code for Unity.
using UnityEngine;
using System.Collections;
// I attached this script to my main camera
public class GenerateMap : MonoBehaviour {
void Start () {
int x = 0;
int y = 0;
// Adding a Prefab/GameObject to Scene using C#. Make sure you create a prefab with the file name
@alexlauerman
alexlauerman / printableASCII
Created January 22, 2014 23:46
All printable ASCII for Burp Intruder #python >>> import strings >>> for i in string.printable: ... print i
0
1
2
3
4
5
6
7
8
9