Example #1
0
 protected override void Awake()
 {
     base.Awake();
     elementCtrl = ElementController.Instence;
     elementCtrl.RegistElement(this);
 }
 protected void Awake()
 {
     elementCtrl = ElementController.Instence;
     elementCtrl.RegistElement(this);
     InitLayer();
 }