Created
December 15, 2013 03:03
-
-
Save GOROman/7968322 to your computer and use it in GitHub Desktop.
Unity の C# でフィールドに草を生やすサンプルスクリプト
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
大草原不可避