I’m using the standard method to override a function in one of my scripts. This error has never popped up for me before, and I’m not sure how to tackle it. It’s only happening with one of my scripts, and I override quite often in my other scripts.
I’ve looked on several forums for a solution but can’t quite grasp what’s going on here. I’ve read that assembly references is creating duplicates of the output which causes confusion with the compiler. The other forums have had the solution, but not detailed enough for me to follow or understand. Any type of step by step guidance is much appreciated.
Let me know if you need more information. Cheers
internal protected override void Activate(SurgePreset surgePreset)
{
base.Activate();
StartCoroutine(SurgeUpdate(surgePreset));
player.SetInvulnerability(surgePreset.duration + surgePreset.extraInvulnerabilityDuration);
currentSurgePreSet = surgePreset;
}