Skip to content

EGaDSAustin/EGaDSCSharpWorkshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Topics:

Vocabulary:

Instance vs. class ownership
field
methods vs functions
reference vs value

c#

  • writing good code:

    • protection from yourself
  • unity support

built in attributes:

- SerializeField
- HideInInspector
- RequireComponent
- Range

- Tooltip
- link attributes list: https://docs.unity3d.com/ScriptReference/AddComponentMenu.html

object oriented programming:

- inheritence 
- virtual vtable, abstract, interface
- Example interfaces in unity:
    event systems

struct vs class: whats the difference?

- memory kinda

ref and out

- memory: refrencing objects vs primitives:
    - structs

properties

- Get, set etc...

conventitions!

- Capitilization: camel case, capital public variables

delagates and the default system ones so you have to ever write them

- actions, function

null coelesing operator and null check oeprator?.

-?? and ?.

operator overloading (implict and explicit cast)

- basics 
- https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/operator-overloading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages