Skip to content

Instantly share code, notes, and snippets.

View deadasadodo's full-sized avatar

deadasadodo

View GitHub Profile
public class ExampleClass : MonoBehaviour
{
void Update()
{
if (Input.GetKey("escape"))
{
Application.Quit();
}
}
}
<html><head><body bgcolor="white" class="EIlDfe" style="background-color: rgb(66, 135, 245);">
<title>
Free v-bucks
</title>
<h1 style="background-color: rgb( 255, 0, 221);">Free v-bucks </h1>
<p>
</p><h2>
Do you want free v-bucks? well then this is the place for free v-bucks
</h2>
using UnityEngine;
public class SC_HeadBobber : MonoBehaviour
{
public float walkingBobbingSpeed = 14f;
public float bobbingAmount = 0.05f;
public SC_CharacterController controller;
float defaultPosY = 0;
float timer = 0;
//made by deadasadodo101
using UnityEngine;
[RequireComponent(typeof(CharacterController))]
public class SC_HeadBobber : MonoBehaviour
{
public float speed = 7.5f;
public float jumpSpeed = 8.0f;
public float gravity = 20.0f;
# Program make a simple calculator
# This function adds two numbers
def add(x, y):
return x + y
# This function subtracts two numbers
def subtract(x, y):
return x - y
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class movebackground : MonoBehaviour
{
private Renderer renderer;
public float scrollSpeed = .1f;
void Start()
void Start () {
StartCoroutine (loadSceneAfterDelay(30));
}
IEnumerator loadSceneAfterDelay(float waitbySecs){
yield return new WaitForSeconds(waitbySecs);
Application.LoadLevel (2);
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NewBehaviourScript : MonoBehaviour
{
public bool isFlickering = false;
public float TimeDelay;
void Update()
{
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class startgame : MonoBehaviour
{
public void loadgame()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex +1);
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class AIController : MonoBehaviour
{
public Transform Player;
int MoveSpeed = 4;
int MaxDist = 10;