using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Autohand { public class IgnoreHandPlayerCollision : MonoBehaviour { public List colliders; void Start() { ActivateIgnoreCollision(); } public void ActivateIgnoreCollision() { foreach(var col in colliders) AutoHandPlayer.Instance.IgnoreCollider(col, true); } public void DeactivateIgnoreCollision() { foreach(var col in colliders) AutoHandPlayer.Instance.IgnoreCollider(col, false); } } }