Skip to content

Instantly share code, notes, and snippets.

@Moe-Baker
Created December 16, 2017 00:19
Show Gist options
  • Save Moe-Baker/367ec9c2455562899699d5c7520ea0eb to your computer and use it in GitHub Desktop.
Save Moe-Baker/367ec9c2455562899699d5c7520ea0eb to your computer and use it in GitHub Desktop.
//abstract class the acts as the functionality implementation
public abstract class BaseImplementation : TypesData.ImplementationBase
{
void Start()
{
Method();
}
protected virtual void Method()
{
Debug.Log("Implementation Method");
}
}
//empty partial class that derives the implementation, should be used as if implementation
public partial class Implementation : BaseImplementation
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment