Exemplo n.º 1
0
        private void ChangeScale(MonoBehaviour imc, Vector3 sf)
        {
            var trn = _imc.transform;

            if (_ct != null)
            {
                imc.StopAllCoroutines();
            }
            _ct = imc.StartCoroutine(TransformHelper.ChangeScaleByTime(trn, trn.localScale, sf, 0.2f));
        }