private void _Refuse()
 {
     _CharacterController.ShakeHead();
     _CharacterController.ChangeMovable(false);
     _State      = CrossRoadStateEnum.Refuse;
     _TimeToWait = WaitRefuseTime;
 }
    public void QuarrelFinish()
    {
        Debug.Log("finish");
        _Player.SetActive(true);
        _Shadow.SetActive(true);
        _CharacterController.ChangeMovable(true);

        Destroy(gameObject);
    }
Example #3
0
 public void ChangeMovable(bool canMove)
 {
     cc.ChangeMovable(canMove);
 }