private void Start() { attackVariable = Instantiate(attackVariable); _damager = new Damager() { Value = attackVariable.Value }; _cam = Camera.main; _info = new TextVariable { Value = textComponent.text }; _info.PropertyChanged += NpcOnPropertyChanged; }
// Start is called before the first frame update private void Start() { health = Instantiate(health); }