-
-
Save Naoya42/e07832ad4916d2c647628f9d226b5ab8 to your computer and use it in GitHub Desktop.
銃のオブジェクト実装
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class Gun : MonoBehaviour | |
{ | |
[Tooltip("射撃間隔")] | |
public float shootInterval = .1f; | |
[Tooltip("威力")] | |
public int shotDamage; | |
[Tooltip("覗き込み時のズーム")] | |
public float adsZoom; | |
[Tooltip("覗き込み時の速度")] | |
public float adsSpeed; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment