public override void OnGUI(EditorGuiBase gui) { label = gui.textField("name", label); scale = gui.silder("scale", scale, 0f, 10f); bias = gui.silder("bias", bias, -5f, 5f); curve = gui.curve("curve", curve); }
public override void OnGUI(EditorGuiBase gui) { label = gui.textField("name", label); scale = gui.silder("scale", scale, 0f, 10f); bias = gui.silder("bias", bias, -5f, 5f); localSeed = gui.intField("local seed", localSeed); size = gui.floatField("size", size); octaveCount = gui.intSlider("octaveCount", octaveCount, 1, (int)Mathf.Log(size, 2) + 2); curve = gui.curve("curve", curve); }