Ejemplo n.º 1
0
    public override void OnEnable()
    {
        base.OnEnable();

        _eyeTargetRestorePosition   = _eyeTarget.control.position;
        _eyeBehaviorRestoreLookMode = _eyeBehavior.currentLookMode;

        _eyeBehavior.currentLookMode = EyesControl.LookMode.Target;
    }
Ejemplo n.º 2
0
 public override void PreActivate()
 {
     _eyeBehaviorRestoreLookMode = _eyeBehavior.currentLookMode;
     _eyeTargetRestorePosition   = _eyeTarget.control.position;
 }