Esempio n. 1
0
    public void ThisButtonDebuggingModuleWillAbsolutelyNotAppearBUG()
    {
        //_PlayerBehaviour.Damage(20f);
        //CreateUnitFaceToPlayer(UnitType.BigDcr, _PlayerBehaviour);
        //_UnitMonoBehaciour.MoveToPostion(_PlayerBehaviour.transform.position);
        //_UnitMonoBehaciour.Jump();
        //IUnit unit = _UnitMonoBehaciour;
        //unit.TurnToPostion(_PlayerBehaviour.transform.position,Vector3.up);
        //unit.MoveToPostion(_PlayerBehaviour.transform.position, new Vector3(1,0,1));
        //unit.MoveToGameObject(_PlayerBehaviour.gameObject, new Vector3(1, 0, 1));
        //unit.LookAtGameObject(_PlayerBehaviour.gameObject, new Vector3(0, 1, 0),true);
        //unit.Attack(0, _PlayerBehaviour.gameObject);

        /*
         * if (Time.timeScale!=0)
         * {
         *  Time.timeScale = 0;
         *
         * }
         * else
         * {
         *  Time.timeScale = 1;
         * }*/

        //Game.RandomBuff();
        ///
        //Turn.TurnToPostion(new Vector3(0,0,0),Vector3.up);


        //Game.Play();
        Game.GameOver();
        Game.BackToMenu();

        //PutBuffInUnit(buff);
    }
Esempio n. 2
0
 public void BackToMenu()
 {
     Game.BackToMenu();
     base.Colse();
 }