What do you want to save?
Add Code snippet
New code examples
-
C# 2022-03-27 22:40:23
c# movement script
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 -
C# 2022-03-27 19:15:02
top down shooting in unity 2D
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Shooting : MonoBehaviour { public Transform firePoint; public GameObject bulletPrefab; public float bulletForce = 20f; // Update is called once... Add solution -
C# 2022-03-25 05:45:02
Unlit shader get the direction of camera UNity
struct v2f { float4 pos : SV_POSITION; float3 normal : TEXCOORD0; //you don't need these semantics except for XBox360 float3 viewT : TEXCOORD1; //you don't need these semantics except for XBox360 }; v2f vert (appdata_base v) { ... Add solution -