Пример #1
0
    public Move CreateMove(int type)
    {
        Move temp = gameObject.AddComponent(typeof(Move)) as Move;

        temp.AddStats(type);
        return(temp);
    }