Exemple #1
0
        private void AddScriptToStateUsagesFor([NotNull] AnimatorStateScriptUsage animatorStateScriptUsage)
        {
            var scriptAnchorToStateUsages = ScriptAnchorToStateUsages;

            foreach (var anchor in animatorStateScriptUsage.ScriptsAnchors)
            {
                scriptAnchorToStateUsages.Add(anchor, animatorStateScriptUsage);
            }
        }
Exemple #2
0
 private void AddStateUsageInfoFor([NotNull] AnimatorStateScriptUsage usage)
 {
     StateNames.Add(usage.Name);
     AddScriptToStateUsagesFor(usage);
 }