Updated several of the example test scenes

release
Simon Jackson 2017-06-19 18:49:14 +01:00
parent 937daaa227
commit c4c6c81e80
3 changed files with 30 additions and 25 deletions

View File

@ -14,6 +14,12 @@ public class ComboBoxChanged : MonoBehaviour {
Debug.Log("AutoCompleteComboBox changed [" + text + "]"); Debug.Log("AutoCompleteComboBox changed [" + text + "]");
} }
public void AutoCompleteComboBoxSelectionChangedEvent(string text, bool valid)
{
Debug.Log("AutoCompleteComboBox selection changed [" + text + "] and its validity was [" + valid + "]");
}
public void DropDownChangedEvent(int newValue) public void DropDownChangedEvent(int newValue)
{ {

View File

@ -143,10 +143,10 @@ RectTransform:
m_Father: {fileID: 448991457} m_Father: {fileID: 448991457}
m_RootOrder: 5 m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 366.5, y: -126} m_AnchoredPosition: {x: 259, y: -106}
m_SizeDelta: {x: 105, y: 147} m_SizeDelta: {x: -577, y: -279}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &2641525 --- !u!114 &2641525
MonoBehaviour: MonoBehaviour:
@ -293,10 +293,10 @@ RectTransform:
m_Father: {fileID: 448991457} m_Father: {fileID: 448991457}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 221, y: 207} m_AnchoredPosition: {x: -212.5, y: -77.5}
m_SizeDelta: {x: 300, y: 150} m_SizeDelta: {x: 390, y: 127}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &67156823 --- !u!114 &67156823
MonoBehaviour: MonoBehaviour:
@ -546,10 +546,10 @@ RectTransform:
m_Father: {fileID: 448991457} m_Father: {fileID: 448991457}
m_RootOrder: 4 m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 221, y: -93.75} m_AnchoredPosition: {x: -18, y: -108}
m_SizeDelta: {x: 148, y: 187} m_SizeDelta: {x: -651, y: -244}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &266467293 --- !u!114 &266467293
MonoBehaviour: MonoBehaviour:
@ -1705,10 +1705,10 @@ RectTransform:
m_Father: {fileID: 448991457} m_Father: {fileID: 448991457}
m_RootOrder: 2 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 339, y: -15} m_AnchoredPosition: {x: -122.5, y: -176.5}
m_SizeDelta: {x: 160, y: 30} m_SizeDelta: {x: 150, y: 30}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &803284191 --- !u!114 &803284191
MonoBehaviour: MonoBehaviour:
@ -2523,10 +2523,10 @@ RectTransform:
m_Father: {fileID: 448991457} m_Father: {fileID: 448991457}
m_RootOrder: 1 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 37, y: -15} m_AnchoredPosition: {x: -335.5, y: -176.5}
m_SizeDelta: {x: 160, y: 30} m_SizeDelta: {x: 150, y: 30}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1112321046 --- !u!114 &1112321046
MonoBehaviour: MonoBehaviour:
@ -2876,10 +2876,10 @@ RectTransform:
m_Father: {fileID: 448991457} m_Father: {fileID: 448991457}
m_RootOrder: 3 m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -381, y: 2} m_AnchoredPosition: {x: -302, y: -0.125}
m_SizeDelta: {x: 236, y: 724} m_SizeDelta: {x: -648, y: -27.25}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1200934016 --- !u!114 &1200934016
MonoBehaviour: MonoBehaviour:

View File

@ -14,7 +14,6 @@ public class AnimateEffects : MonoBehaviour
float gradient2Max = 1, gradient2Min = -1, gradient2Modifier = 0.01f; float gradient2Max = 1, gradient2Min = -1, gradient2Modifier = 0.01f;
public CylinderText cylinderText; public CylinderText cylinderText;
private Transform cylinderTextRT; private Transform cylinderTextRT;
float cylinderTextMax = 0.5f, cylinderTextMin = -0.5f, cylinderTextModifier = 1f;
Vector3 cylinderRotation = new Vector3(0, 1, 0); Vector3 cylinderRotation = new Vector3(0, 1, 0);
public SoftMaskScript SAUIM; public SoftMaskScript SAUIM;
float SAUIMMax = 1, SAUIMMin = 0, SAUIMModifier = 0.01f; float SAUIMMax = 1, SAUIMMin = 0, SAUIMModifier = 0.01f;