Skip to content

Instantly share code, notes, and snippets.

@openroomxyz
Created April 21, 2020 11:54
Show Gist options
  • Select an option

  • Save openroomxyz/116a77511c90bcb3e3136b4753bf7cfe to your computer and use it in GitHub Desktop.

Select an option

Save openroomxyz/116a77511c90bcb3e3136b4753bf7cfe to your computer and use it in GitHub Desktop.
Unity C# : How to call constructor of super class from child class?
class XYRGBA : Y2019.December.Day30.XYRGBA
{
public XYRGBA(int n) : base(n)
{
}
public void something()
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment