1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

UnityC# Vscodeスニペットメモ

Posted at

スニペットメモ

charp.json
{
	"Create MonoBehaviorClass Template":{
		"prefix": "cmonobehavior",
		"body": ["using UnityEngine;\n","public class $TM_FILENAME_BASE : MonoBehaviour\n{\n\t$0\n}"],
	},
	"Create MonoBehaviorClass Template With NameSpace":{
		"prefix": "cnmonobehavior",
		"body": ["using UnityEngine;\n","namespace $1\n{\n\tpublic class $TM_FILENAME_BASE : MonoBehaviour\n\t{\n\t\t$2\n\t}\n}"],
	},
	"Create PureC# Class Template":{
		"prefix": "cclass",
		"body": ["public class $TM_FILENAME_BASE\n{\n\t$0\n}"],
	},
	"Create PureC# Class Template With NameSpace":{
		"prefix": "cnclass",
		"body": ["namespace $1\n{\n\tpublic class $TM_FILENAME_BASE\n\t{\n\t\t$2\n\t}\n}"],
	},
	"Create interface Template":{
		"prefix": "cinterface",
		"body": ["public interface $TM_FILENAME_BASE\n{\n\t$0\n}"],
	},
	"Using Generic":{
		"prefix": "generic",
		"body": ["using System.Collections.Generic;\n$0"],
	},
	"Awake":{
		"prefix": "awake",
		"body": ["private void Awake()\n{\n\t$0\n}"],
	},
	"Start":{
		"prefix": "start",
		"body": ["private void Start()\n{\n\t$0\n}"],
	},
	"Update":{
		"prefix": "update",
		"body": ["private void Update()\n{\n\t$0\n}"],
	},
}
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?