What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-01 07:30:17
react native location
// npm install @react-native-community/geolocation // npx react-native link @react-native-community/geolocation import Geolocation from '@react-native-community/geolocation'; Geolocation.getCurrentPosition(info => console.log(info)); Add solution -
Other 2022-02-28 16:10:13
react-native-community/blur
npm i @react-native-community/blur Add solution -
-
C# 2022-02-28 14:55:08
unity object with gameobject
//define "myObject" //(asign in in inspector) public GameObject myObject; //runs when you hit the play button void Start() { //change the name to "myObjectsNewName" myObject.name = "myObjectsNewName"; } //Note for Unity a... Add solution -
PHP 2022-02-27 23:35:02
load player avatar url
$html = file_get_contents("http://steamcommunity.com/profiles/76561197991341238"); preg_match('/<div class="avatarFull"><img src="(.*)" \/><\/div>/i', $html, $profile_picture); // $profile_picture[1]; is the... Add solution -
C# 2022-02-27 21:40:09
slomotion in unity 3d
using UnityEngine; using System.Collections; public class SlowMotion : MonoBehaviour { float currentAmount = 0f; float maxAmount = 5f; // Use this for initialization void Start () { } // Update is called once per frame void Update () { if(Input.GetK... Add solution -
Other 2022-02-27 18:40:09
unity icons
see here: https://www.flaticon.com/free-icons/unity Add solution