Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created June 5, 2018 06:07
Show Gist options
  • Save todorok1/0510099dea0c782730976b3fc986b6a0 to your computer and use it in GitHub Desktop.
Save todorok1/0510099dea0c782730976b3fc986b6a0 to your computer and use it in GitHub Desktop.
AddComponentMenuの並び順指定
using UnityEngine;
[AddComponentMenu("ExplorersLab/AppleEater", 1)]
public class AppleEater : MonoBehaviour {
void Start () {
Debug.Log("朝食にリンゴを食べよう!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment