下边代码记录一下自己学习C#中的里氏替换原则
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
class GameObject
{
}
class Player:GameObject
{
public void PlayerAtk()
{
Debug.Log("Pl
下边代码记录一下自己学习C#中的里氏替换原则
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
class GameObject
{
}
class Player:GameObject
{
public void PlayerAtk()
{
Debug.Log("Pl