Skip to content

hobbes443/unity2d.examples01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random bite sized examples

This Unity2d project contains various small code samples I cooked up while learning Unity.

For memories sake.

Examples List:


  • 01 making a sprite 2d turret follow the mouse
  • 02 making a sprite 2d turret follow an object
  • 03 procedurally create a hex grid using a prefab hex (mesh or sprite). 2d perspective.
  • 04 procedurally create a hexagon mesh
  • 05 procedurally create a hex grid from the created hex mesh from 04
  • 06 starting with the grid from 03 (modified), highlight multiple hexes based on mouse position
  • 07 try out an MVC pattern I found on the nets
  • 08 playing with delegates and events. play extended to some dumb stuff, but wanted to see if i could do it. mainly making a toggle effect
  • 99 catch all. things tried and failed, or ultimately not used but I might want to reference again

About

This Unity2d project contains various small code samples I cooked up while learning Unity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages