Ejemplo n.º 1
0
    private void Awake()
    {
        this.sequenceBtnCreator = new SequenceBtnCreatorHelper(this as ISequenceBtnCreator);
        this.sequenceBtnCreator.SetRectTransform(this.rt);

        FrontUIAction ftUIAction = FindObjectOfType <FrontUIAction>();

        if (ftUIAction == null)
        {
            return;
        }
        this.sequenceBtnCreator.CreateButtons(ftUIAction as IUIAction, this.rt);
    }
Ejemplo n.º 2
0
 private void OnDestroy()
 {
     this.sequenceBtnCreator = null;
 }