private static void AddTemplateToFsm() { if (SkillEditor.SelectedFsm == null) { return; } Vector2 viewCenter = FsmGraphView.GetViewCenter(); EditorCommands.PasteTemplate(viewCenter); }
public static void PasteTemplate(Vector2 position) { EditorCommands.PasteTemplate(SkillEditor.SelectedTemplate, position); }