Skip to content

Files

Latest commit

 

History

History
20 lines (16 loc) · 780 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 780 Bytes

VSCodeSnippetsForUnity

Convenient snippets for my most used code blocks.

Snippet List

Debugs

  • debug for Debug.Log($"Hello, World");
  • debugw for Debug.LogWarning($"Warning");
  • debuge for Debug.LogErro($"Error");
  • debugg for Debug.Log($"{nameof(var)}: {var});

Coroutines

  • corupdate for creating a looping coroutine
  • correstart for restarting a looping coroutine; only works with RestartCoroutine() in plugin PlugRMK
  • cordelay for creating a delayed coroutine
  • eventtri for adding EventTrigger and entries to an image component

Attributes

  • sf for [SerializeField]
  • sb for [Serializable]