EGaDSAustin / EGaDSCSharpWorkshop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:C# 100.0%