// Start is called before the first frame update void Start() { PlayerData pd = StateManager.GetController().pdata; for (int i = 0; i < pd.VectorLocals.Length; i++) { if (pd.VectorLocals[i]) { VectorTile.Create(pd.VectorLocals[i], Vector2.zero, transform); } } }