Exemplo n.º 1
0
    public void SpawnPartycle()
    {
        var partycle = objectPool.GetPartycle();

        partycle.Initialize(UpdateDataPartycle());
        partycle.GameObject.transform.SetParent(parentMovePartycle);
        UpdatePartycleTransform(partycle);
        partycle.IsActive = true;
    }