My Learning
Pathways
Guided learning journeys
Embark on a guided experience where you unlock free assets, prepare to get Unity Certified, and earn shareable badges to demonstrate your learning to future employers.
Unity Essentials
Pathway
Foundational
+600 XP
2 Weeks
Designed for anyone new to Unity, this guided learning journey is your first step toward gaining the background, context, and skills you need to confidently create in the Unity Editor and bring your vision to life. Experience hands-on learning as you discover what’s possible with Unity and unlock free assets to support you in creating your best projects. Completing this Pathway will equip you with the foundation you need to further your learning and specialize in your area of interest.  
Junior Programmer
Pathway
Beginner
+3000 XP
12 Weeks
Welcome to Junior Programmer! Designed for anyone interested in learning to code or obtaining an entry-level Unity role, this pathway assumes a basic knowledge of Unity and has no math prerequisites. Junior Programmer prepares you to get Unity Certified so that you can demonstrate your job-readiness to employers.
Browse
TOPICS
Editor EssentialsScriptingGraphics & Visual Effects2DMobile & TouchXRPhysicsUser InterfaceFor EducatorsAI & NavigationMore
Pathway
Mission
Course
Project
Tutorial
Guided learning experiences
Gain the Unity skills you need to advance your goals and bring your vision to life.
Unity Essentials
Pathway
Foundational
+600 XP
2 Weeks
Designed for anyone new to Unity, this guided learning journey is your first step toward gaining the background, context, and skills you need to confidently create in the Unity Editor and bring your vision to life. Experience hands-on learning as you discover what’s possible with Unity and unlock free assets to support you in creating your best projects. Completing this Pathway will equip you with the foundation you need to further your learning and specialize in your area of interest.  
Junior Programmer
Pathway
Beginner
+3000 XP
12 Weeks
Welcome to Junior Programmer! Designed for anyone interested in learning to code or obtaining an entry-level Unity role, this pathway assumes a basic knowledge of Unity and has no math prerequisites. Junior Programmer prepares you to get Unity Certified so that you can demonstrate your job-readiness to employers.
Live
TOPICS
Browse All Topics
ALL
TUTORIALS
PROJECTS
COURSES
MISSIONS
PATHWAYS
See all 0 Results
FAQ
Create a Unity ID
Sign in
Mike Breidegam
Apr 10, 2020
Ok, I must be completely lost on how to grasp some of these coding concepts. I cannot figure out or find online how to display total # of animals that have been fed into console. Spent almost 2 hours searching online and nothing.
Has anyone figured out?

Also, anyone else figure out how to get their animals to go a random speeds? I posted earlier but suggestion given didn't work.

I have to admit these optional homework items are becoming pretty frustrating.

Comments
Mike Breidegam
a year ago
Composer
Meaghan MoodyI am stuck on the first part of this with the counter as well. Can either of you send me the code? I
This is what I have for the counter using System.Collections; using System.Collections.Generic; using UnityEngine; public class DetectCollisions : MonoBehaviour { public static int score; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() {
} void OnTriggerEnter(Collider other) { Destroy(gameObject); Destroy(other.gameObject); score++; Debug.Log(score); } }
0
MM
Meaghan Moody
a year ago
I am stuck on the first part of this with the counter as well. Can either of you send me the code? I
0
Mike Breidegam
a year ago
Composer
Adriano Siqueirabro, to spawn at random speeds you just need to create a random speed range, it's not so hard. to count feed animals, you need to create a new variable, and add +1 when a food collide with an animal, use debug.log to show it at console. The hard part is to avoid space bar spam... --' If you want, I can send my code to you read and understand how it works...
That would be great if you could send over. I tried Random.Range a variety of ways and animals either ran in place, only ran at max speed or only changed speeds while not running (not set random speed at beginning and continue at that speed). Thanks
0
Adriano Siqueira
a year ago
Game Dev
bro, to spawn at random speeds you just need to create a random speed range, it's not so hard. to count feed animals, you need to create a new variable, and add +1 when a food collide with an animal, use debug.log to show it at console. The hard part is to avoid space bar spam... --' If you want, I can send my code to you read and understand how it works...
0
Copyright © 2021 Unity Technologies
Legal
Privacy Policy
Cookies
Cookies Settings
Language:
English
简体中文
한국어
日本語
Русский
Español
Français
Deutsch
Português