예제 #1
0
 protected override void Awake()
 {
     base.Awake();
     Handler            = GetComponentInParent <IUiCardData>();
     Handler.OnSetData += OnSetData;
 }
예제 #2
0
 void Awake()
 {
     MyRenderer         = GetComponent <SpriteRenderer>();
     Handler            = GetComponentInParent <IUiCardData>();
     Handler.OnSetData += OnSetData;
 }