using UnityEngine;
using System.Collections.Generic;
public class CustomPlayerModel : MonoBehaviour
{
[Header("Model Configuration")]
public List<GameObject> objectsToDisable = new List<GameObject>();
public List<GameObject> objectsToEnable = new List<GameObject>();
private void Start()
{
foreach (GameObject obj in objectsToDisable)
{
if (obj != null)
{
obj.SetActive(false);
}
}
foreach (GameObject obj in objectsToEnable)
{
if (obj != null)
{
obj.SetActive(true);
}
}
}
}













































































































