protected override void Awake() { base.Awake(); //temp: register hint object hint_gc_key = attack_hint.GetComponent <GC_SelfDestoryItem>()?.key; GCManager.RegisterObject(hint_gc_key, attack_hint); }
private void Awake() { if (instance == null) { instance = this; } else { Destroy(gameObject); } GCManager.RegisterObject(DAMAGE_POPUP_GC_KEY, damage_popup_prefab); }
private void Awake() { if (instance == null) { instance = this; } else { Destroy(gameObject); } //register particle GCManager.RegisterObject(SMALL_BLAST_GC_KYE, smallBlast); GCManager.RegisterObject(Large_BLAST_GC_KYE, largeBlast); GCManager.RegisterObject(RED_CIRCLE_HINT_GC_KEY, red_circle); }
private void Awake() { GCManager.RegisterObject(GC_key, gameObject); }
private void Awake() { Debug.Log("register hp bar"); GCManager.RegisterObject(HPBAR_GC_KEY, gameObject); }
protected virtual void Start() { //gegister gc key GCManager.RegisterObject(ammoData.GC_key, gameObject); }