In this video we're going to make an elevator which moves the player up and down. In the process, we'll learn what dynamic references are, what arrays are, and how to use these two things to create a switch which turns on a random elevator in your world-- kinda roguelike-y style :)FOR HOMEWORK: here's an extra simple exercise you can try if you want!Give your elevator a public variable called ElevatorID that is of type integer. Instead of having your switch turn on a random elevator, give it a unique SwitchID variable of its own; then have it loop through all the elevators and check their ElevatorID property until it finds the elevator it "belongs" with. In this way, you can dynamically pair elevators with switches at runtime WITHOUT having to assign them all in the editor!MORE LEARNINGTo learn more about arrays, I like this video: https://www.youtube.com/watch?v=yA-Qn...To learn more about loops, I like this video: https://www.youtube.com/watch?v=r3Ti5...AWESOME TUNESPlaces We Used To Walk by rook1e & tender spring: https://www.youtube.com/watch?v=zdWCu...Sand Castles by Purrple Cat: https://www.youtube.com/watch?v=F92at...Jazz Lounge by Mittensさん: https://soundcloud.com/xmittens/jazz-...
In this video we're going to make an elevator which moves the player up and down. In the process, we'll learn what dynamic references are, what arrays are, and how to use these two things to create a switch which turns on a random elevator in your world-- kinda roguelike-y style :)FOR HOMEWORK: here's an extra simple exercise you can try if you want!Give your elevator a public variable called ElevatorID that is of type integer. Instead of having your switch turn on a random elevator, give it a unique SwitchID variable of its own; then have it loop through all the elevators and check their ElevatorID property until it finds the elevator it "belongs" with. In this way, you can dynamically pair elevators with switches at runtime WITHOUT having to assign them all in the editor!MORE LEARNINGTo learn more about arrays, I like this video: https://www.youtube.com/watch?v=yA-Qn...To learn more about loops, I like this video: https://www.youtube.com/watch?v=r3Ti5...AWESOME TUNESPlaces We Used To Walk by rook1e & tender spring: https://www.youtube.com/watch?v=zdWCu...Sand Castles by Purrple Cat: https://www.youtube.com/watch?v=F92at...Jazz Lounge by Mittensさん: https://soundcloud.com/xmittens/jazz-...
The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.
A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!
Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.