Пример #1
0
    public void Start(StateData stateData){
        GameObject obj = (GameObject)Resources.Load("prefab/Player/Player");
        GameObject Object = GameManager.Instantiate(obj, new Vector3(0,0,0), Quaternion.identity);
        Move move = new ContorolerMove(Object.transform,Object.GetComponent<Animator>(),new IntValue(3));
        MoveManager.Add(MoveState.Main,Object,move);
        Player.SetObject();
        Player.GetPlayer().LoadStatus(Statuss.Name,new StringValue("FirstPlayer"));
        new CSVLoader().StatusLoad(Player.GetPlayer());
        

    }
Пример #2
0
    public void Start(StateData stateData)
    {
        Player Player = player.GetPlayer();

        Player.SetEfect(Efects.tame);
        GameManager.SetState(States.Main, new StateData());
    }
Пример #3
0
 public void SkillOn(PlayerObjectManager player)
 {
     if (!On)
     {
         skillChenger.SkillOn(player);
         player.GetPlayer().EfectOff(Efects.tame);
         On = true;
     }
 }
Пример #4
0
 public void Start(StateData stateData)
 {
     SkillControler.DamageCheck(player.GetPlayer(), stateData.Hitlist);
     GameManager.SetState(States.Main, new StateData());
 }