Update
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using UnityEngine;
|
||||
using System.Collections.Generic;
|
||||
namespace Invector
|
||||
{
|
||||
public class vSpikeControl : MonoBehaviour
|
||||
{
|
||||
[HideInInspector]
|
||||
public List<Transform> attachColliders;
|
||||
|
||||
void Start()
|
||||
{
|
||||
attachColliders = new List<Transform>();
|
||||
var objs = GetComponentsInChildren<vSpike>();
|
||||
foreach (vSpike obj in objs)
|
||||
obj.control = this;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user