// Use this for initialization void Start() { m_bloodScreen = GetComponent <BloodScreen>(); hp = hpMax; EventDelegateManager.instance.restartLevelDelegate += OnRestartLevel; }
void Awake() { _instance = this; uiSprite = this.GetComponent <UISprite>(); tweenAlpha = this.GetComponent <TweenAlpha>(); uiSprite.enabled = false; }
void Awake() { _instance = this; //sprite = this.GetComponent<UISprite>(); tweenAlpha = this.GetComponent <TweenAlpha>(); }
void Start() { _instance = this; sprite = GetComponent <UISprite>(); alpha = GetComponent <TweenAlpha>(); }
void Awake() { _instance = this; sprite = this.GetComponent<UISprite>(); tweenAlpha = this.GetComponent<TweenAlpha>(); }
void Awake() { instance = this; sp = GetComponent <UISprite>(); ta = GetComponent <TweenAlpha>(); }
void Awake() { instance = this; blood = GetComponent <UISprite>(); tween = GetComponent <TweenAlpha>(); }