void OnDeath() //Called by String Ref { SpawnDeathEffects(); scoreBoard.AddToScore(pointValue); Destroy(gameObject); }