2023-09-11 01:55:36 +00:00
|
|
|
using System;
|
2023-09-11 05:15:18 +00:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
2023-09-11 01:55:36 +00:00
|
|
|
using Blobcreate.ProjectileToolkit;
|
|
|
|
using UnityEngine;
|
2023-09-11 05:15:18 +00:00
|
|
|
using UnityEngine.Animations;
|
2023-09-11 01:55:36 +00:00
|
|
|
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
|
|
namespace BlueWaterProject
|
|
|
|
{
|
|
|
|
public class Canon : MonoBehaviour
|
|
|
|
{
|
|
|
|
public float power;
|
2023-09-11 05:15:18 +00:00
|
|
|
public float reloadTime = 1f;
|
|
|
|
private bool isReloading;
|
|
|
|
|
2023-09-11 01:55:36 +00:00
|
|
|
private void Init()
|
|
|
|
{
|
2023-12-11 12:56:43 +00:00
|
|
|
|
2023-09-11 01:55:36 +00:00
|
|
|
}
|
2023-09-11 05:15:18 +00:00
|
|
|
|
2023-09-11 01:55:36 +00:00
|
|
|
private void Awake()
|
|
|
|
{
|
|
|
|
Init();
|
|
|
|
}
|
|
|
|
|
2023-09-11 05:15:18 +00:00
|
|
|
private void Update()
|
|
|
|
{
|
2023-12-11 12:56:43 +00:00
|
|
|
|
2023-09-11 05:15:18 +00:00
|
|
|
}
|
|
|
|
|
2023-09-11 01:55:36 +00:00
|
|
|
public void Fire()
|
|
|
|
{
|
2023-12-11 12:56:43 +00:00
|
|
|
|
2023-09-11 01:55:36 +00:00
|
|
|
}
|
2023-09-11 05:15:18 +00:00
|
|
|
|
|
|
|
public void LookAtTarget()
|
|
|
|
{
|
2023-12-11 12:56:43 +00:00
|
|
|
|
2023-09-11 05:15:18 +00:00
|
|
|
}
|
2023-09-11 01:55:36 +00:00
|
|
|
}
|
|
|
|
}
|