Esempio n. 1
0
 public void OverrideToDeactivateLookAt(DeactivatedLookAtParams param, short priority, string id)
 {
     LookAtTypeDict.Override(id, priority, param);
     if (LookAtTypeDict.LastId == id)
     {
         ToDeactivatedLookAt(param);
     }
 }
Esempio n. 2
0
 private void ToDeactivatedLookAt(DeactivatedLookAtParams param)
 {
     lookAtTransform = null;
     StopLookAt();
     if (param.LookAtStyleIndex >= 0)
     {
         SetLookAtIKStyle(param.LookAtStyleIndex);
     }
     else
     {
         SetLookAtIKStyle(player.defaultLookAtIKStyleIndex);
     }
 }