static void MenuDoSelectMaterial() { SelectMaterial instance = EditorToolbarLoader.GetInstance <SelectMaterial>(); if (instance != null) { UnityEditor.ProBuilder.EditorUtility.ShowNotification(instance.DoAction().notification); } }
static bool MenuVerifySelectMaterial() { SelectMaterial instance = EditorToolbarLoader.GetInstance <SelectMaterial>(); return(instance != null && instance.enabled); }
private void Awake() { _selectMaterial = GetComponent <SelectMaterial>(); _pillInsert = GetComponent <PillInsert>(); _bottleMouseDrag = GetComponent <BottleMouseDrag>(); }