What do you want to save?
Add Code snippet
New code examples
-
C# 2021-11-20 17:36:10
nested value object c#
public class CityList : ValueObject<CityList>, IEnumerable<City> { private List<City> _cities { get; } public CityList(IEnumerable<City> cities) { &n... Add solution -
C# 2021-11-18 10:21:22
how do antibodies worrk
// Meant for use with Unity // Not even sure if this works // I have no idea what I'm doing using UnityEngine; using System.Collections; public class ImmuneSystem : MonoBehaviour { public void ProtectBody(Disease disease) { if(disease.antiBody) {... Add solution -
C# 2021-11-17 15:44:19
execute something for 5 seconds unity
StartCoroutine(GoLeft()); IEnumerator GoLeft() { // This will wait 1 second like Invoke could do, remove this if you don't need it yield return new WaitForSeconds(1); float timePassed = 0; while (timePassed < 3) { // Code... Add solution -
C# 2021-11-10 21:50:15
c# zeitverzögerung
private Coroutine corutinename; corutinename=StartCoroutine(nameofcoroutinetostart()); private IEnumerator nameofcoroutinetostart() { while (true)/*to make it endless(you can delete it, if you want to call it once)/um es endlos zu machen(du kannst es w... Add solution -
C# 2021-11-08 14:48:26
compass direction mobile unity
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; using System; public class CompassBehaviour : MonoBehaviour { public TextMeshPro headingText; private bool startTracking = false; void Start() { Input.compass.enab... Add solution