Пример #1
0
    public void Start()
    {
        if (permanentMutation != CaractMonster._enumCaractMonster.NONE)
        {
            permanentCarMutation = CaractMonster.GetCaractMonsterOfEnum(permanentMutation);
        }

        int id = gameObject.transform.parent.GetComponent <FighterUI>().fighter.nID;

        MutationManager mmm = GameObject.FindGameObjectWithTag("MutationManager").GetComponent <MutationManager>();

        SetCaract(mmm.GetMutationWithId(id));
    }