Skip to content

Instantly share code, notes, and snippets.

@GOROman
Created December 15, 2013 03:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save GOROman/7968322 to your computer and use it in GitHub Desktop.
Save GOROman/7968322 to your computer and use it in GitHub Desktop.
Unity の C# でフィールドに草を生やすサンプルスクリプト
using UnityEngine;
using System.Collections;
// 草原クラス
class WWWWWWWWWWWWWWWWWWWWWWWW : MonoBehaviour {
public void wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww() {
Debug.Log ( "wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww");
}
}
public class WWWWWWWWWWWWWW : MonoBehaviour {
WWWWWWWWWWWWWWWWWWWWWWWW wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww;
void Start() {
// 草原の生成
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww = new WWWWWWWWWWWWWWWWWWWWWWWW();
}
void Update() {
// 草生やす
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww.wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww();
}
}
@GOROman
Copy link
Author

GOROman commented Dec 15, 2013

大草原不可避

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment