Ball spawner
var ball = PoolObject.GetObject("Ball 0").GetComponent<Ball>();
ColorManager.instance.GenerateColorInGame());
// set position on the field
ball.SetPosition((col,row));Last updated
var ball = PoolObject.GetObject("Ball 0").GetComponent<Ball>();
ColorManager.instance.GenerateColorInGame());
// set position on the field
ball.SetPosition((col,row));Last updated