private void Awake() { initScale = gameObject.transform.localScale; growth = new LinearGrowth(1.0f, 1.0f, 0); }
public void Grow(float startSize, float endSize, int duration) { growth = new LinearGrowth(startSize, endSize, duration); Debug.Log("New LinearGrowth created: " + growth.ToString()); }