43 lines
709 B
C#
43 lines
709 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using Blobcreate.ProjectileToolkit;
|
|
using UnityEngine;
|
|
using UnityEngine.Animations;
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
namespace BlueWaterProject
|
|
{
|
|
public class Canon : MonoBehaviour
|
|
{
|
|
public float power;
|
|
public float reloadTime = 1f;
|
|
private bool isReloading;
|
|
|
|
private void Init()
|
|
{
|
|
|
|
}
|
|
|
|
private void Awake()
|
|
{
|
|
Init();
|
|
}
|
|
|
|
private void Update()
|
|
{
|
|
|
|
}
|
|
|
|
public void Fire()
|
|
{
|
|
|
|
}
|
|
|
|
public void LookAtTarget()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|