Upload from upload_mods.ps1
This commit is contained in:
17
KFAttached/KFUtilAttached/ChargeUpController.cs
Normal file
17
KFAttached/KFUtilAttached/ChargeUpController.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using UnityEngine;
|
||||
|
||||
[AddComponentMenu("KFAttachments/Weapon Display Controllers/Charge Up controller")]
|
||||
public class ChargeUpController : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
private WeaponLabelControllerChargeUp controller;
|
||||
private void OnEnable()
|
||||
{
|
||||
controller.StartChargeUp();
|
||||
}
|
||||
|
||||
private void OnDisable()
|
||||
{
|
||||
controller.StopChargeUp();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user