Post by benniegant on Apr 23, 2020 0:46:51 GMT
The hint is in the error message. It's trying to find a reference to a file called vcharactercontroller etc, if you check the error it will show you, then you can just look for the file that will be similar to that name, if the name of the file is the same then check if the particular feature of that file it is trying to access is the same. I don't have it open in front of me so i can't scan it, but it should be easy to find and replace
-----------------
Hey Uber sorry Im late to posting a solution for the persons problem, I just ran into it, I tracked it down by the class inherited from. Here is the solution..:P
Sorry Peeps I know im a bit late for this solution or fix sorry but for those who revisit or find this post in the future here is the working solution.
use DoActionDelay() because the code got updated for the class the file inherits from.
EvilasRPG Pack in file vTriggerCountDown is the source of the Error in class
public class vTriggerCountDown : vTriggerGenericAction
{.
...
...
So realy quick! The vTriggerGenericAction.cs where you should look for the new name. so on line 90-93 of the file it even says; "Formaly onDoActions"
[Header("--- INPUT EVENTS ---")]
[FormerlySerializedAs("OnDoAction")]
public UnityEvent OnPressActionInput;
public OnDoActionWithTarget onPressActionInputWithTarget;
...
...
... dot dot dot etc
Ok so Change the code in triggerCountDown.cs to this in its start function:
protected override void Start()
{
base.Start();
// this.OnDoAction.AddListener(StartCountDown);
this.OnPressActionInput.AddListener(StartCountDown);
//Becuase [FormerlySerializedAs("Field")] is a feature .Net has made for programmers to rename a //field with out changing its old Serialized Value. its like Polymorphism for Serialized data :P
}
//-Cheers Dudes