Ejemplo n.º 1
0
    public static Buff Create(int _buffId)
    {
        BuffData data = BuffData.dataList.Find(t => t.condition_ID == _buffId);

        if (data != null)
        {
            Buff buff = data.CreateMe();
            return(buff);
        }

        Debug.LogWarning("Can't find the Buff in [BuffDataList]");
        return(null);
    }