Hi, I want to replace a GameObject (esenciaVFX, is a empty GameObject) for another (AfroditaVFX) and I write the next code, but only change in the Inspector, what gone wrong?
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class shopManager;
public GameObject esenciaVFX;
[Header("Effects")]
public GameObject AfroditaVFX;
void Start () {
esenciaVFX = AfroditaVFX;
}