Question by
unity_qyNAJ9CdbDf9rw · Sep 06, 2019 at 09:38 AM ·
ienumeratorpublicstartcoroutineother script
Non-invocable member "IEnumerator" cannot be used like a method. Start StartCoroutine from other script ??
Hello ! I meet an error like this when i try to StartCorotine from other script
foreach (Scale_big_bar bar in big_bar)
{
StartCoroutine(bar.scale_bigger_bar());
}
In Scale_big_bar i write IEnumerator like this
public IEnumerator bigger_small_bar()
{
....
}
Sorry for my bad english. Thanks for help !!!
Comment