首次提交
This commit is contained in:
43
Assets/Scripts/Fishing~/FReelEvents.cs
Normal file
43
Assets/Scripts/Fishing~/FReelEvents.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class FReelEvents : MonoBehaviour
|
||||
{
|
||||
private FReel reel;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
reel = base.transform.parent.GetComponent<FReel>();
|
||||
}
|
||||
|
||||
public void JoinHandKablak()
|
||||
{
|
||||
// if (reel.reelAsset.animator.GetFloat("Reeling") > 0f)
|
||||
// {
|
||||
// reel.kablagOpenState = false;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// reel.Owner.InteractiveMainHand(reel.reelAsset.koblagHandle);
|
||||
// }
|
||||
}
|
||||
|
||||
public void UnjoinHandKablak()
|
||||
{
|
||||
// if (!reel.isHandOnHandle)
|
||||
// {
|
||||
// reel.Owner.InteractiveMainHand(null);
|
||||
// if (reel.reelAsset.animator.GetBool("Unlock"))
|
||||
// {
|
||||
// reel.kablagOpenState = true;
|
||||
// }
|
||||
//
|
||||
// if (reel.reelAsset.animator.GetBool("Lock"))
|
||||
// {
|
||||
// reel.kablagOpenState = false;
|
||||
// }
|
||||
//
|
||||
// reel.reelAsset.animator.SetBool("Unlock", false);
|
||||
// reel.reelAsset.animator.SetBool("Lock", false);
|
||||
// }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user