タイトル: 継承
SEOタイトル: C#の継承
本稿はC#の継承に関する記事です。
C#ではコロン(:)を使用して継承をします。
構文
|
修飾子 class 子クラス : 親クラス { } |
具体例
|
public class TestScript : MonoBehaviour { } |