Exemplo n.º 1
0
    public void PunchScale(TRANSFORM_TYPE type, float scaleTime)
    {
        iTween.Stop(m_transArray[(int)type].gameObject);
        m_transArray[(int)type].transform.localScale = Vector3.one;

        iTween.PunchScale(m_transArray[(int)type].gameObject, Vector3.one * 0.5f, scaleTime);
    }
Exemplo n.º 2
0
 public Vector3 GetIconPos(TRANSFORM_TYPE type)
 {
     return(m_transArray[(int)type].position);
 }