public override void OnEnable() { base.OnEnable(); if (isMe) { playerUIManager.Attach(this); } }
private void Awake() { playerUIManager = GetComponentInParent <PlayerUIManager>(); playerUIManager.Attach(this); }
public override void OnEnable() { base.OnEnable(); if (isMe) { playerUIManager.Attach(this); } }
private void Awake() { playerUIManager = GetComponentInParent <PlayerUIManager>(); playerUIManager.Attach(this); }