Beginning C# with Unity - Part 21 - Polymorphism

Subscribers:
17,300
Published on ● Video Link: https://www.youtube.com/watch?v=kK7nKJl_lWI



Category:
Tutorial
Duration: 17:58
11,599 views
251


Polymorphism is an integral part of object oriented programming. In this video, you'll be introduced to do it.

Task: Create an IPersistable interface which has the method Save() in it. Save() just prints out a log message. Have the Alien and Player object implement the interface. Next, create a game manager object to loop through the IPersistable objects and call Save() on each of them.

Complete Playlist: https://www.youtube.com/playlist?list=PLFgjYYTq6xyhtVK6VzLiFe3pmBu-XSNlX

Note: Unity is required. You can download the free version from Unity3d.com. This course has developed using just the personal version.

---

Like what you see: Subscribe!
Enjoy the video? Give it a like!
Follow me on Twitter: www.twitter.com/zombietreats
The Web: www.aworldonfire.com

Other Shows:

Radiation Island: http://bit.ly/1JFFU35
The Long Dark: http://bit.ly/1I49COw
Wolfenstein: The New Order: http://bit.ly/1FD5Ifq
7 Days to Die Season 1: http://bit.ly/1yVxXzi
7 Days to Die Season 2: http://bit.ly/1CZC8Rg
7 Days to Die Season 3:http://bit.ly/1CJ177f
Minecraft Moonshot: http://bit.ly/1KgYH3X

---

About Unity (from Wikipedia):

Unity is a cross-platform game engine developed by Unity Technologies and used to develop video games for PC, consoles, mobile devices and websites. First announced only for Mac OS, at Apple’s Worldwide Developers Conference in 2005, it has since been extended to target more than fifteen platforms. It is now the default software development kit (SDK) for the Wii U.]

Unity Pro is available for a fee and Unity Personal has no fee; it is available for any use to individuals or companies with less than US$100,000 of annual gross revenue. On March 3, 2015 with the release of Unity 5.0, Unity Technologies made the complete engine available for free including all features, less source code and support. Unity is noted for an ability to target games to multiple platforms.

Five versions of Unity have been released. In 2006 at the 2006 WWDC trade show, Apple, Inc. named Unity as the runner up for its Best Use of Mac OS X Graphics category.

About C#:

C# (pronounced as see sharp) is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines. It was developed by Microsoft within its .NET initiative and later approved as a standard by Ecma (ECMA-334) and ISO (ISO/IEC 23270:2006). C# is one of the programming languages designed for the Common Language Infrastructure.

C# is intended to be a simple, modern, general-purpose, object-oriented programming language. Its development team is led by Anders Hejlsberg. The most recent version is C# 5.0, which was released on August 15, 2012.




Other Videos By Vegetarian Zombie


2016-04-13Days to Die: Alpha 14.5 - S5, E2 - 1080p/60fps - Restoring Houses
2016-04-11Let's Play - Radiation Island, Season 2, Ep 6: Death from Above
2016-04-09Let's Play Fallout 4 - 1080P / 60FPS / Ultra Settings - E29 - Institutionalized
2016-04-08Let's Play Far Cry Primal - 1080P / 60fps - E1: The Hunt Begins
2016-04-05Let's Play Tomb Raider 2013 on the Mac - 1080P / 60FPS - E20 - A Puzzling Elevator
2016-04-05Days to Die: Alpha 14.3 - S5, E1 - 1080p/60fps - No More Room in Hell
2016-04-04Let's Play Tomb Raider 2013 on the Mac - 1080P / 60FPS - E19 - Another Bites the Dust
2016-04-03Days to Die: Alpha 13.8 - S4, E18 - 1080p/60fps - End of the Road
2016-04-01Let's Play Fallout 4 - 1080P / 60FPS / Ultra Settings - E28 - The Infernal Machine
2016-04-01Let's Play Tomb Raider 2013 on the Mac - 1080P / 60FPS - E18 - Hangin' On
2016-03-31Beginning C# with Unity - Part 21 - Polymorphism
2016-03-30Channel Update
2016-03-25Let's Play - Radiation Island, Season 2, Ep 5: On the Move
2016-03-25Let's Play Tomb Raider 2013 on the Mac - 1080P / 60FPS - E17 - Raiding Tombs
2016-03-24Beginning C# with Unity - Part 20 - Interfaces
2016-03-24Let's Play Tomb Raider 2013 on the Mac - 1080P / 60FPS - E16 - Chasing Bacon
2016-03-23Lets Play Crashlands - E6 - Queen of the Glutters
2016-03-23Let's Play Tomb Raider 2013 on the Mac - 1080P / 60FPS - E15 - Back to the Beach
2016-03-22Let's Play Tomb Raider 2013 on the Mac - 1080P / 60FPS - E14 - Escape
2016-03-21Let's Play Fallout 4 - 1080P / 60FPS / Ultra Settings - E27 - Cracking the Code
2016-03-21Let's Play Tomb Raider 2013 on the Mac - 1080P / 60FPS - E13 - Exploding Town



Tags:
c#
csharp unity
unity c#
unity development
unity scripting tutorial
unity scripting
unity scripting c#
c# .net
c# polymorphism
c# gameplay
c# game development
unity tutorial
gameplay unity
learning c# unity
learning unity scripting
beginning unity scripting
polymorphism
polymorphism unity
free unity course
free c# course
how to program
how to make games
game coding
game development how to
vegetarianzombie
vegetarian zombie tutorials