示例#1
0
 public void Load()
 {
     storage.Bind(nameof(addComponent), () => LudiqGUIUtility.LoadBuiltinTexture("Toolbar Plus More"));
     storage.Bind(nameof(replace), () => resources.LoadIcon("Icons/Replace.png"));
     storage.Bind(nameof(more), () => LudiqGUIUtility.LoadBuiltinTexture("LookDevPaneOption", false) ?? LudiqGUIUtility.LoadBuiltinTexture("pane options"));
     storage.Bind(nameof(createGameObject), () => LudiqGUIUtility.LoadBuiltinTexture("Toolbar Plus"));
     storage.Bind(nameof(createGameObjectOptions), () => LudiqGUIUtility.LoadBuiltinTexture("Toolbar Plus More"));
     storage.Bind(nameof(hierarchy), () => LudiqGUIUtility.LoadBuiltinTexture("UnityEditor.SceneHierarchyWindow"));
     storage.Bind(nameof(toolbarDragHandle), () => null);
     storage.Bind(nameof(script), () => LudiqGUIUtility.LoadBuiltinTexture("cs Script Icon"));
     storage.Bind(nameof(pin), () => resources.LoadIcon("Icons/Pin.png"));
     storage.Bind(nameof(pinOn), () => resources.LoadIcon("Icons/PinOn.png"));
     storage.Bind(nameof(propertyDrawer), () => resources.LoadIcon("Icons/PropertyDrawer.png"));
     storage.Bind(nameof(moreOverlay), () => resources.LoadIcon("Icons/MoreOverlay.png"));
     storage.Bind(nameof(inconsistentComponents), () => LudiqGUIUtility.LoadBuiltinTexture("FilterByType"));
     storage.Bind(nameof(prefab), () => LudiqGUIUtility.LoadBuiltinTexture("Prefab Icon"));
     storage.Bind(nameof(prefabOverlayAdded), () => LudiqGUIUtility.LoadBuiltinTexture("PrefabOverlayAdded Icon"));
     storage.Bind(nameof(prefabOverlayRemoved), () => LudiqGUIUtility.LoadBuiltinTexture("PrefabOverlayRemoved Icon"));
     storage.Bind(nameof(prefabOverlayModified), () => LudiqGUIUtility.LoadBuiltinTexture("PrefabOverlayModified Icon"));
 }