Skip to content

Instantly share code, notes, and snippets.

@Hironyi
Last active June 16, 2021 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hironyi/8d93db3b1517241aa1029edd4fc00b7d to your computer and use it in GitHub Desktop.
Save Hironyi/8d93db3b1517241aa1029edd4fc00b7d to your computer and use it in GitHub Desktop.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//SwordWeaponクラス
public class SwordWeapon :MonoBehaviour,IWeapon
{
public void Attack()
{
//剣の攻撃処理を入れる。
Debug.Log("剣の攻撃を実行した。");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment