public static ForestRenderer newInstance(ForestGeneratorBehaviour behaviour) { ForestRenderer renderer = ScriptableObject.CreateInstance <ForestRenderer>(); renderer.setBehaviour(behaviour); return(renderer); }
private void setBehaviour(ForestGeneratorBehaviour dungeonGeneratorBehaviour) { _behavior = dungeonGeneratorBehaviour; }
private ForestRenderer(ForestGeneratorBehaviour behaviour) { _behavior = behaviour; }