기술 자료

Unity Engine

Unity Engine

MenuCommand

Creates a new MenuCommand object.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Creates a new MenuCommand object.
public MenuCommand(Object inContext, int inUserData)

Parameters

inContext


inUserData

Remarks

Context and userData will be initialized to inContext and inUserdata respectively.
Creates a new MenuCommand object.
public MenuCommand(Object inContext)

Parameters

inContext

Remarks

Context will be initialized to inContext and userdata will be set to 0.