Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@afjk
Created July 25, 2020 23:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afjk/eba01a494b56f809fab23cf70830e6de to your computer and use it in GitHub Desktop.
Save afjk/eba01a494b56f809fab23cf70830e6de to your computer and use it in GitHub Desktop.
UnityEditorExtension:Inspectorの右のメニューからのメソッド呼び出し
[ContextMenu("FuncName")]
public void FuncName()
{
Debug.Log("FuncName called.");
}
@afjk
Copy link
Author

afjk commented Jul 25, 2020

エディタ拡張スニペット

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment