Example #1
0
    private void DrawPlayer()
    {
        GameObject clothes = null;

        clothes = Instantiate(PrefabLoader.GetHumanPlayerClothes(player.ClothesType), Vector2.zero,
                              Quaternion.identity) as GameObject;
        clothes.transform.SetParent(transform, false);
    }