Skip to content

Instantly share code, notes, and snippets.

@todorok1
Last active January 20, 2021 04:22
Show Gist options
  • Save todorok1/d44a444565cfa8e6728056b8398dfa3e to your computer and use it in GitHub Desktop.
Save todorok1/d44a444565cfa8e6728056b8398dfa3e to your computer and use it in GitHub Desktop.
エディタ上でパーリンノイズによる地形を生成するサンプル
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEditor.SceneManagement;
/// <Summary>
/// エディタ上でフィールドを生成するクラスです。
/// </Summary>
[CustomEditor(typeof(FieldGenerator))]
public class FieldGeneratorEditor : Editor
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment