Ejemplo n.º 1
0
    public void SpawnDropItem(DropItemType dropItemType, Transform targetPlatform, RGBType rgbType = RGBType.End)
    {
        if (dropItemPool == null)
        {
            return;
        }
        DropItem item = dropItemPool.GetItem();

        if (item != null)
        {
            item.Initialize(targetPlatform, dropItemType, rgbType);
        }

#if UNITY_EDITOR
        Debug.Log("DropItem생성");
#endif
    }