예제 #1
0
            public override void Init()
            {
                base.Init();

                if (!UIPerkScreen.UseCustomLayout())
                {
                    return;
                }

                foreach (Transform child in rectT)
                {
                    if (child.name == "ConnectorBase")
                    {
                        connectorB = child.gameObject;
                    }
                    if (child.name == "Connector")
                    {
                        connector = child.gameObject;
                    }
                }
            }
예제 #2
0
        public override void Awake()
        {
            base.Awake();

            instance = this;
        }
예제 #3
0
 void OnPerkButton(GameObject butObj, int pointerID = -1)
 {
     UIPerkScreen.Show();
 }