This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ExampleClass : MonoBehaviour | |
{ | |
void Update() | |
{ | |
if (Input.GetKey("escape")) | |
{ | |
Application.Quit(); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class movebackground : MonoBehaviour | |
{ | |
private Renderer renderer; | |
public float scrollSpeed = .1f; | |
void Start() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Start () { | |
StartCoroutine (loadSceneAfterDelay(30)); | |
} | |
IEnumerator loadSceneAfterDelay(float waitbySecs){ | |
yield return new WaitForSeconds(waitbySecs); | |
Application.LoadLevel (2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class NewBehaviourScript : MonoBehaviour | |
{ | |
public bool isFlickering = false; | |
public float TimeDelay; | |
void Update() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
NewerOlder