27 lines
566 B
C#
27 lines
566 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class MonsterComponent : MonoBehaviour
|
||
|
{
|
||
|
|
||
|
[SerializeField]
|
||
|
private float attackDamage = 1f;
|
||
|
public float AttackDamage { get { return this.attackDamage; } }
|
||
|
|
||
|
[SerializeField]
|
||
|
private bool shakeCameraOnHit = true;
|
||
|
public bool ShakeCameraOnHit { get { return this.shakeCameraOnHit; } }
|
||
|
// Start is called before the first frame update
|
||
|
void Start()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
// Update is called once per frame
|
||
|
void Update()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|