4 reference
float amount;
7 protected float m_orginal_width;
8 protected float m_orginal_height;
19 protected void Update()
25 float p = amount * m_anim.GetValue();
26 m_root.SetSize(m_orginal_width + (m_orginal_width * p), m_orginal_height - (m_orginal_height * p));
31 void OnWidgetScriptInit(
Widget w)
34 m_root.GetSize(m_orginal_width, m_orginal_height);
35 m_anim.AnimateLoop(speed);