Пример #1
0
    public void NextFrame(string codigo)
    {
        if (currentFrame)
        {
            if (backList.Count == 0)
            {
                currentFrame.GetComponent <Image>().color = new Color(1, 1, 1, 0);
            }

            currentFrame.Deactive();
            backList.Add(currentFrame);
        }

        genericFrame.Active();
        genericFrame.Information = GetInformation(codigo);
        //next.position = Vector3.zero;
        currentFrame = genericFrame.GetComponent <FrameController>();
    }