private void Start() { enemyLayer = LayerMaskUtilities.GetCharactersLayerExceptMyLayer(gameObject.layer); }
void setEnemyLayer() { enemyLayer = LayerMaskUtilities.GetCharactersLayerExceptMyLayer(gameObject.layer); }
private void Start() { objectPooler = ObjectPooler.GetInstance(); enemiesMask = LayerMaskUtilities.GetCharactersLayerExceptMyLayer(LayerMask.NameToLayer("Spider")); }