コード例 #1
0
    public static GameObject LoadVisualEffect(VisualEffectShape shape, VisualEffectSize size, string name = "")
    {
        GameObject result = Resources.Load("Effect Zones/" + shape + "/" + size + name) as GameObject;

        return(result);
    }
コード例 #2
0
    public static GameObject LoadVisualEffect(VisualEffectShape shape, VisualEffectSize size)
    {
        GameObject result = Resources.Load("Visual Effects/" + shape + "/" + size) as GameObject;

        return(result);
    }