Esempio n. 1
0
        // Use this for initialization
        public override void Start()
        {
            base.Start();
            gameObject.tag = "Assistance";

            localScaleCard = Mathf.Abs(transform.localScale.x);
            canGoBig       = true;

            Def = new AssistanceDefinition();

            if (GetComponent <RectTransform>() == null)
            {
                // Si l'element est UI pas besoin de setUp la carte
                StartCoroutine(SetUpCard());
            }
        }
 // Use this for initialization
 public override void Start()
 {
     Def = new AssistanceDefinition();
 }