Skip to content

Commit

Permalink
Transform gizmos and bug fixes
Browse files Browse the repository at this point in the history
1. Transform gizmos (mainly for debug at the moment)
2. Fix getting transforms from layers when scene has been transformed
3. WIP include widgets in canvas bounds
4. GetAllUnselectedActiveWidgets was ignoring non-main canvases
5. Add method for GetLayerByIndex

[CI BUILD]
  • Loading branch information
andybak committed Apr 1, 2023
1 parent d31cb16 commit fdd91f7
Show file tree
Hide file tree
Showing 14 changed files with 1,894 additions and 28 deletions.
35 changes: 35 additions & 0 deletions Assets/Materials/BoundsGhost.mat
@@ -0,0 +1,35 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: BoundsGhost
m_Shader: {fileID: 4800000, guid: 9f2e62d534247cc4183f14aa0d7a810b, type: 3}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 5
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 2800000, guid: c7a663eacfb5db7488d34ffe9c07736b, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _Intensity: 1
- _OutlineWidth: 0.02
m_Colors:
- _Color: {r: 0.31132078, g: 0.29565683, b: 0.29565683, a: 1}
- _PulseColor: {r: 1, g: 1, b: 1, a: 1}
- _TintColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
m_BuildTextureStacks: []
8 changes: 8 additions & 0 deletions Assets/Materials/BoundsGhost.mat.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fdd91f7

Please sign in to comment.