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); }
public Vector3 GetIconPos(TRANSFORM_TYPE type) { return(m_transArray[(int)type].position); }