You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We will create a new method with a well defined signature
/// <summary>/// Adds a trace with the specified values/// Type = GameObject /// </summary>/// <param name="verb">Verb: String, e.g. "initialized"</param>/// <param name="targetType">Verb: String, e.g. "completable"</param>/// <param name="TargetId">Verb: String, e.g. "my_quest_mission"</param>publicvoidTrace(stringverb,stringtargetType,stringtargetId)
Mark as obsolete the previous methods:
[Obsolete("Trace (params string[] values) and Trace (string trace) are deprecated, please use Trace (string verb, string targetType, string targetId) instead.",true)]
Problem
The methods
and
Available at Tracker.cs are prone to failure because they require to be invoked with exactly 3 arguments in a specific order, as we can see below.
For the method:
"initialized"
"my_quest_mission"
"completable"
For the method:
"initialized", "completable", "my_quest_mission"
Any other invocation would result in failure.
The text was updated successfully, but these errors were encountered: