Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void SeedGrowing()
- {
- while (SeedLife <= 100)
- {
- SeedLife++;
- }
- if (SeedLife >= 100)
- {
- oldPosition = transform.position;
- oldRotation = transform.rotation;
- Debug.Log ("Launching seed to tree");
- StartCoroutine(ChangeSeedToTree ());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement