removed unused plugins, added reverse function to hidden objects
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Beyond;
|
||||
using ES3Types;
|
||||
using Invector.vCharacterController;
|
||||
using Invector.vMelee;
|
||||
using PixelCrushers;
|
||||
|
||||
@@ -11,6 +11,9 @@ namespace Beyond
|
||||
public Collider m_actionCollider;
|
||||
|
||||
private bool alreadyUsed = false;
|
||||
[Tooltip("If true, collider will be disabled insted of enabled")]
|
||||
[SerializeField]
|
||||
private bool m_reverseAction = false;
|
||||
|
||||
// Start is called before the first frame update
|
||||
private void Start()
|
||||
@@ -35,7 +38,7 @@ namespace Beyond
|
||||
return;
|
||||
}
|
||||
if (m_actionCollider)
|
||||
m_actionCollider.enabled = enabled;
|
||||
m_actionCollider.enabled = !m_reverseAction;
|
||||
}
|
||||
|
||||
public void MarkAsAlreadyUsed()
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using HutongGames.PlayMaker.Actions;
|
||||
using PixelCrushers;
|
||||
using PixelCrushers.DialogueSystem;
|
||||
using Sirenix.OdinInspector;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using HutongGames.PlayMaker.Actions;
|
||||
//using OccaSoftware.Altos;
|
||||
using PixelCrushers;
|
||||
using Sirenix.OdinInspector;
|
||||
|
||||
Reference in New Issue
Block a user