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; | |
// Create a plane and a cube above that plane, attach a rigidbody to the cube & add gravity | |
// drop this script anywhere on the scene and watch the variables in realtime | |
// mess around with timeScale and see the results | |
// toggle the jump checkbox during runtime | |
public class TestTimeScale : MonoBehaviour | |
{ | |
[Space,Space,Range(0.01f, 3f)] | |
public float timeScale = 0.5f; | |
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
# Open console -> F1 ( to open settings ) -> select 'Blackboxing' on the left side bar -> Add patterns | |
# More info: https://developer.chrome.com/devtools/docs/blackboxing | |
prototype.*\.js | |
angular.*\.js | |
jquery.*\.js | |
moment.*\.js | |
\.min\.js$ |
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
/** Declaration file generated by dts-gen */ | |
export class Group { | |
constructor(size: any); | |
activate(value: any): any; | |
clear(): void; | |
connect(target: any, method: any, weight: any): any; |
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
/* Version: 0.1 (14/April/18) :: Free to use, no strings attached | |
Compiled online with http://www.typescriptlang.org/play/ | |
Minified online with https://jscompress.com/ | |
Online demo with source code: https://pong.stackblitz.io ( See index.js for example ) */ | |
define(["require","exports"],function(t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function t(t,i){this.max_difficulty=7,this.screenW=0,this.screenH=0,this.displayScale=1,this.game_frame_rate=60,this.mouse_x=0,this.mouse_y=0,this.mouse_moved=!1,this.score1=0,this.score2=0,this.enemy_velocity=0,this.pedal_1_y=0,this.pedal_2_y=0,this.pedal_1_x=0,this.pedal_2_x=0,this.pedal_thikness=0,this.pedal_height=0,this.ball_radius=0,this.ball_speed=0,this.ball_speed_angle=0,this.ball_velocity_x=0,this.ball_velocity_y=0,this.ball_x=0,this.ball_y=0,this.minScreenSize=0,this.color_bg="white",this.color_primary="red",this.color_secondary="gray",this.text="https://pong.stackblitz.io",this.ctx=t,this.canvas=t.canvas,i&&(this.text=i),this |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
gist name ? |
NewerOlder