static void CreateContextMenu(MenuCommand menuCommand) { if (CheckMenu()) { Remap p = AutoPipe.CreateGameObjectWithComponent <Remap>(menuCommand); } }
static void CreateContextMenu(MenuCommand menuCommand) { if (CheckMenu()) { AutoPipe.CreateGameObjectWithComponent <NoiseGenerator>(menuCommand); } }
static void CreateContextMenu(MenuCommand menuCommand) { if (CheckMenu()) { AutoPipe.CreateGameObjectWithComponent <NexusOut>(menuCommand); } }
static void CreateContextMenu(MenuCommand menuCommand) { if (CheckMenu()) { AnimatorParameter p = AutoPipe.CreateGameObjectWithComponent <AnimatorParameter>(menuCommand); p.animator = (menuCommand.context as GameObject).GetComponent <Animator>(); } }