What do you want to save?
Add Code snippet
New code examples
-
C# 2022-02-18 02:25:32
ScriptableObject
using UnityEngine; using System.Collections; [CreateAssetMenu(fileName = "Data", menuName = "Inventory/List", order = 1)] public class MyScriptableObjectClass : ScriptableObject { public string objectName = "New MyScriptableO... Add solution -
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 -
C# 2022-02-15 09:40:25
c# writeline argument
// This code example demonstrates the Console.WriteLine() method. // Formatting for this example uses the "en-US" culture. using System; class Sample { enum Color {Yellow = 1, Blue, Green}; static DateTime thisDate = DateTime.Now; ... 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 -
C# 2022-02-14 07:05:08
how to validate request body in c#
[Valid] //here we apply the filter and request made to this model is validated by validation rules on the model [HttpPost] public HttpResponseMessage someMethod(SomeValidationModel someValidationModel) { //some logic } // define your Reusable Mod... Add solution