public static void DrawGUI(FoCsControlPanel owner) { using (Disposables.HorizontalScope()) { FoCsGUI.Layout.Label("Type of Object", GUILayout.Width(Screen.width * 0.4f)); FoCsGUI.Layout.Label("Method of copy"); } foreach (var copyMode in CopyPasteUtility.TypeCopyData) { using (Disposables.HorizontalScope()) { FoCsGUI.Layout.Label(copyMode.Key.ToString(), GUILayout.Width(Screen.width * 0.4f)); FoCsGUI.Layout.Label(copyMode.Value.ToString()); } } }
public static void DrawGUI(FoCsControlPanel owner) { using (Disposables.VerticalScope()) { foreach (var reorderableListStorage in UnityReorderableListStorage.storages) { foreach (var reorderableListProperty in reorderableListStorage.URLPList) { using (Disposables.VerticalScope(FoCsGUI.Styles.Unity.Box)) { using (Disposables.HorizontalScope()) { FoCsGUI.Layout.Label("Key"); FoCsGUI.Layout.Label(reorderableListProperty.Key); } using (Disposables.HorizontalScope()) { FoCsGUI.Layout.Label("Limiter"); FoCsGUI.Layout.Label(reorderableListProperty.Value.Limiter != null? reorderableListProperty.Value.Limiter.ToString() : "NULL"); } } } } } }
public static void DrawGUI(FoCsControlPanel owner) { using (Disposables.HorizontalScope(FoCsGUI.Styles.Unity.Box, GUILayout.ExpandHeight(true), GUILayout.ExpandWidth(true))) FoCsGUI.Layout.Label("FoCs Info"); }