浏览代码

Tidy Up: Fixed UI Player Display Rect and Aligned Default UI Values

/main
andytouch 4 年前
当前提交
e7f83bd8
共有 3 个文件被更改,包括 44 次插入47 次删除
  1. 14
      InputSystem_Warriors_Project/Assets/Prefabs/UI/UI_Canvas_World_PlayerDisplay.prefab
  2. 30
      InputSystem_Warriors_Project/Assets/Prefabs/Warrior/Warrior.prefab
  3. 47
      InputSystem_Warriors_Project/Assets/Scenes/Scene_Example_Warriors.unity

14
InputSystem_Warriors_Project/Assets/Prefabs/UI/UI_Canvas_World_PlayerDisplay.prefab


m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 2100000, guid: 811fed6c6e8cbb34aba310644733f4a7, type: 2}
m_Color: {r: 1, g: 0.12588629, b: 0, a: 1}
m_Color: {r: 0.3773585, g: 0.3773585, b: 0.3773585, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:

m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: Controller
m_text: Device Name
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 77a54eba8bd72b04babb01fc6f9d031b, type: 2}
m_sharedMaterial: {fileID: 6952953652584977494, guid: 77a54eba8bd72b04babb01fc6f9d031b,

- component: {fileID: 2641655560739439992}
- component: {fileID: 1539462861}
m_Layer: 9
m_Name: Canvas_PlayerDisplay
m_Name: UI_Canvas_World_PlayerDisplay
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0

m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5548200517043333964}
m_LocalRotation: {x: 0.28234148, y: 0, z: 0, w: 0.95931405}
m_LocalRotation: {x: 0.28234148, y: -0, z: -0, w: 0.959314}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.0035760803, y: 0.0035760803, z: 0.0035760803}
m_Children:

m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_SizeDelta: {x: 720, y: 300}
m_Pivot: {x: 0, y: 0}
--- !u!223 &3402453836007236829
Canvas:

m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 1
m_text: '0
'
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 77a54eba8bd72b04babb01fc6f9d031b, type: 2}
m_sharedMaterial: {fileID: 6952953652584977494, guid: 77a54eba8bd72b04babb01fc6f9d031b,

30
InputSystem_Warriors_Project/Assets/Prefabs/Warrior/Warrior.prefab


objectReference: {fileID: 0}
- target: {fileID: 6265031667269413090, guid: 63726dc7d2cb37d4a8b414560f2fcf1f,
type: 3}
propertyPath: m_SizeDelta.x
value: 720.7302
objectReference: {fileID: 0}
- target: {fileID: 6265031667269413090, guid: 63726dc7d2cb37d4a8b414560f2fcf1f,
type: 3}
propertyPath: m_SizeDelta.y
value: 300.1654
objectReference: {fileID: 0}
- target: {fileID: 6265031667269413090, guid: 63726dc7d2cb37d4a8b414560f2fcf1f,
type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}

type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 7256949955326275866, guid: 63726dc7d2cb37d4a8b414560f2fcf1f,
type: 3}
propertyPath: m_text
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7983236508161211110, guid: 63726dc7d2cb37d4a8b414560f2fcf1f,
type: 3}
propertyPath: m_Color.r
value: 0.35686275
objectReference: {fileID: 0}
- target: {fileID: 7983236508161211110, guid: 63726dc7d2cb37d4a8b414560f2fcf1f,
type: 3}
propertyPath: m_Color.g
value: 0.35686275
objectReference: {fileID: 0}
- target: {fileID: 7983236508161211110, guid: 63726dc7d2cb37d4a8b414560f2fcf1f,
type: 3}
propertyPath: m_Color.b
value: 0.35686275
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 63726dc7d2cb37d4a8b414560f2fcf1f, type: 3}

47
InputSystem_Warriors_Project/Assets/Scenes/Scene_Example_Warriors.unity


m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_UseShadowmask: 1
m_UseShadowmask: 0
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2

propertyPath: camera
value:
objectReference: {fileID: 963194227}
- target: {fileID: 3402453836783444819, guid: 7040c04d00ad25e4cad0ba1b7d40c3c0,
type: 3}
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3528249008770642978, guid: 7040c04d00ad25e4cad0ba1b7d40c3c0,
type: 3}
propertyPath: m_Enabled

objectReference: {fileID: 0}
- target: {fileID: 5548200518918450370, guid: 7040c04d00ad25e4cad0ba1b7d40c3c0,
type: 3}
propertyPath: m_IsActive
propertyPath: m_Name
value: UI_Canvas_World_PlayerDisplay
objectReference: {fileID: 0}
- target: {fileID: 5587485868546598810, guid: 7040c04d00ad25e4cad0ba1b7d40c3c0,
type: 3}
propertyPath: m_firstOverflowCharacterIndex
value: -1
objectReference: {fileID: 0}
- target: {fileID: 5587485868546598810, guid: 7040c04d00ad25e4cad0ba1b7d40c3c0,
type: 3}
propertyPath: m_textInfo.lineCount
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5587485868546598810, guid: 7040c04d00ad25e4cad0ba1b7d40c3c0,
type: 3}
propertyPath: m_textInfo.characterCount
value: 11
objectReference: {fileID: 0}
- target: {fileID: 5587485868546598810, guid: 7040c04d00ad25e4cad0ba1b7d40c3c0,
type: 3}
propertyPath: m_textInfo.spaceCount
- target: {fileID: 5548200518918450370, guid: 7040c04d00ad25e4cad0ba1b7d40c3c0,
- target: {fileID: 5587485868546598810, guid: 7040c04d00ad25e4cad0ba1b7d40c3c0,
propertyPath: m_Name
value: UI_Canvas_World_PlayerDisplay
propertyPath: m_textInfo.wordCount
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7256949956698076820, guid: 7040c04d00ad25e4cad0ba1b7d40c3c0,
type: 3}
propertyPath: m_textInfo.characterCount
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7256949956698076820, guid: 7040c04d00ad25e4cad0ba1b7d40c3c0,
type: 3}
propertyPath: m_textInfo.spaceCount
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8145840457835498163, guid: 7040c04d00ad25e4cad0ba1b7d40c3c0,
type: 3}

m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -32.013206}
m_AnchoredPosition: {x: 0, y: -32.013214}
m_SizeDelta: {x: -1, y: -64}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &782418258

正在加载...
取消
保存