This commit is contained in:
parent
22b6ed5cef
commit
564bda3dd5
|
@ -10022,6 +10022,8 @@ MonoBehaviour:
|
||||||
minCamera: {fileID: 1822639428928488196}
|
minCamera: {fileID: 1822639428928488196}
|
||||||
imageprs: {fileID: 8234605787508067104}
|
imageprs: {fileID: 8234605787508067104}
|
||||||
rawImage: {fileID: 2648302242586125239}
|
rawImage: {fileID: 2648302242586125239}
|
||||||
|
colliders: []
|
||||||
|
attackColliders1: []
|
||||||
--- !u!54 &916690897
|
--- !u!54 &916690897
|
||||||
Rigidbody:
|
Rigidbody:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -16139,10 +16141,10 @@ MonoBehaviour:
|
||||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_UiScaleMode: 0
|
m_UiScaleMode: 1
|
||||||
m_ReferencePixelsPerUnit: 100
|
m_ReferencePixelsPerUnit: 100
|
||||||
m_ScaleFactor: 1
|
m_ScaleFactor: 1
|
||||||
m_ReferenceResolution: {x: 800, y: 600}
|
m_ReferenceResolution: {x: 1920, y: 1080}
|
||||||
m_ScreenMatchMode: 0
|
m_ScreenMatchMode: 0
|
||||||
m_MatchWidthOrHeight: 0
|
m_MatchWidthOrHeight: 0
|
||||||
m_PhysicalUnit: 3
|
m_PhysicalUnit: 3
|
||||||
|
|
|
@ -731,7 +731,7 @@ Camera:
|
||||||
width: 1
|
width: 1
|
||||||
height: 1
|
height: 1
|
||||||
near clip plane: 0.3
|
near clip plane: 0.3
|
||||||
far clip plane: 150
|
far clip plane: 600
|
||||||
field of view: 60
|
field of view: 60
|
||||||
orthographic: 0
|
orthographic: 0
|
||||||
orthographic size: 5
|
orthographic size: 5
|
||||||
|
@ -836,10 +836,10 @@ MonoBehaviour:
|
||||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_UiScaleMode: 0
|
m_UiScaleMode: 1
|
||||||
m_ReferencePixelsPerUnit: 100
|
m_ReferencePixelsPerUnit: 100
|
||||||
m_ScaleFactor: 1
|
m_ScaleFactor: 1
|
||||||
m_ReferenceResolution: {x: 800, y: 600}
|
m_ReferenceResolution: {x: 1920, y: 1080}
|
||||||
m_ScreenMatchMode: 0
|
m_ScreenMatchMode: 0
|
||||||
m_MatchWidthOrHeight: 0
|
m_MatchWidthOrHeight: 0
|
||||||
m_PhysicalUnit: 3
|
m_PhysicalUnit: 3
|
||||||
|
|
|
@ -9571,10 +9571,10 @@ MonoBehaviour:
|
||||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_UiScaleMode: 0
|
m_UiScaleMode: 1
|
||||||
m_ReferencePixelsPerUnit: 100
|
m_ReferencePixelsPerUnit: 100
|
||||||
m_ScaleFactor: 1
|
m_ScaleFactor: 1
|
||||||
m_ReferenceResolution: {x: 800, y: 600}
|
m_ReferenceResolution: {x: 1920, y: 1080}
|
||||||
m_ScreenMatchMode: 0
|
m_ScreenMatchMode: 0
|
||||||
m_MatchWidthOrHeight: 0
|
m_MatchWidthOrHeight: 0
|
||||||
m_PhysicalUnit: 3
|
m_PhysicalUnit: 3
|
||||||
|
|
|
@ -405,10 +405,10 @@ MonoBehaviour:
|
||||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_UiScaleMode: 0
|
m_UiScaleMode: 1
|
||||||
m_ReferencePixelsPerUnit: 100
|
m_ReferencePixelsPerUnit: 100
|
||||||
m_ScaleFactor: 1
|
m_ScaleFactor: 1
|
||||||
m_ReferenceResolution: {x: 800, y: 600}
|
m_ReferenceResolution: {x: 1920, y: 1080}
|
||||||
m_ScreenMatchMode: 0
|
m_ScreenMatchMode: 0
|
||||||
m_MatchWidthOrHeight: 0
|
m_MatchWidthOrHeight: 0
|
||||||
m_PhysicalUnit: 3
|
m_PhysicalUnit: 3
|
||||||
|
@ -737,6 +737,8 @@ MonoBehaviour:
|
||||||
Frequency:
|
Frequency:
|
||||||
camera: {fileID: 480111845}
|
camera: {fileID: 480111845}
|
||||||
rawImage: {fileID: 1115657768}
|
rawImage: {fileID: 1115657768}
|
||||||
|
colliders: []
|
||||||
|
attackColliders1: []
|
||||||
--- !u!65 &1537869982341012852
|
--- !u!65 &1537869982341012852
|
||||||
BoxCollider:
|
BoxCollider:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -44,7 +44,8 @@ namespace XFrame.Core.UI
|
||||||
instance.root = go.transform;
|
instance.root = go.transform;
|
||||||
CanvasScaler cs = go.AddComponent<CanvasScaler>();
|
CanvasScaler cs = go.AddComponent<CanvasScaler>();
|
||||||
cs.uiScaleMode = CanvasScaler.ScaleMode.ScaleWithScreenSize;
|
cs.uiScaleMode = CanvasScaler.ScaleMode.ScaleWithScreenSize;
|
||||||
cs.referenceResolution = new Vector2(Screen.width, Screen.height);
|
//cs.referenceResolution = new Vector2(Screen.width, Screen.height);
|
||||||
|
cs.referenceResolution = new Vector2(1920, 1080);
|
||||||
cs.screenMatchMode = CanvasScaler.ScreenMatchMode.Expand;
|
cs.screenMatchMode = CanvasScaler.ScreenMatchMode.Expand;
|
||||||
GameObject subRoot;
|
GameObject subRoot;
|
||||||
subRoot = CreateSubCanvasForRoot(go.transform, 0);
|
subRoot = CreateSubCanvasForRoot(go.transform, 0);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
127.0.0.1:48888
|
172.20.10.5:48888
|
|
@ -1 +1 @@
|
||||||
127.0.0.1
|
172.20.10.5
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue