| | |
| | | { |
| | | var button = UIUtility.CreateWidget("CommonButton", "CommonButton"); |
| | | var buttonEx = button.GetComponent<ButtonEx>(); |
| | | buttonEx.interval = 0.5f; |
| | | buttonEx.interval = 0.1f; |
| | | buttonEx.pressedScale = 1.05f; |
| | | SetParent(button); |
| | | } |
| | | |
| | |
| | | if (ui.openMask)
|
| | | {
|
| | | CreateScreen(ui);
|
| | | ui.screenMask.GetComponent<Image>().color = new Color32(0, 0, 0, 226);
|
| | | ui.screenMask.GetComponent<Image>().color = new Color(0, 0, 0, 0.7f);
|
| | | }
|
| | | else
|
| | | {
|
| | |
| | | m_Name: |
| | | m_EditorClassIdentifier: |
| | | m_Material: {fileID: 0} |
| | | m_Color: {r: 0, g: 0, b: 0, a: 0.8862745} |
| | | m_Color: {r: 0, g: 0, b: 0, a: 0.7372549} |
| | | m_RaycastTarget: 1 |
| | | m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} |
| | | m_Maskable: 1 |