Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created January 29, 2021 11:41
Show Gist options
  • Save todorok1/d74bf904d4bb45233131b9de5a54ef7b to your computer and use it in GitHub Desktop.
Save todorok1/d74bf904d4bb45233131b9de5a54ef7b to your computer and use it in GitHub Desktop.
継承のサンプル
/// <Summary>
/// 猫クラスです。
/// </Summary>
public class Cat : Animal
{
protected override void()
{
Debug.Log("にゃー!");
}
protected override void 移動する()
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment