What do you want to save?
Add Code snippet
New code examples
-
C# 2022-02-16 00:10:01
unity fps counter
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class FpsScript : MonoBehaviour { [SerializeField] private Text fpsText; [SerializeField] private float... Add solution -
Other 2022-02-14 07:10:06
player movement script unity
using UnityEngine; using System.Collections; // This script moves the character controller forward // and sideways based on the arrow keys. // It also jumps when pressing space. // Make sure to attach a character controller to the same game object. // It... Add solution -
Python 2022-02-14 03:10:03
what is the best ide for python
#To be honest i personally use Visual studio code, but IDEs made by Jetbrains are also really good. They are a bit pricy though. Of course you can get to community edition as well. '''Well, other good code editors are atom, sublime text and idle itself. B... Add solution -
C# 2022-02-12 06:40:09
unity multiply xyz of two vectors
// Calculate the two vectors generating a result. // This will compute Vector3(2, 6, 12)using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void Example() { print(Vector3.Scale(new Vector3(1, 2, 3), new ... Add solution -
C# 2022-02-12 04:45:13
first person camera controller unity
//Fixed the issues with the previous controller using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraLook : MonoBehaviour { public float minX = -60f; public float maxX = 60f; public float sensitivity; pub... Add solution -
Javascript 2022-02-10 04:15:23
ReferenceError: You are trying to `import` a file after the Jest environment has been torn down.
Cearte a file mock.js on rootDir place this inside. file jest.useFakeTimers() now under setup "setupFiles": [ "./node_modules/react-native-gesture-handler/jestSetup.js", "<rootDir>/mock.js" //place here ], ... Add solution -
Other 2022-02-09 14:35:24
Pilfering Pirates
Pilfering Pirates is a brickbattle fighting game inspired by Black Pearl vs Flying Dutchman and Doomspire Brickbattle The goal of the game is to destroy all of the enemy spawns while protecting your team's spawns Get gold by winning matches or by steali... Add solution