private static void DrawTriggerZone(Relic relic, GizmoType gizmoType) { BoxCollider collider = relic.GetComponent <BoxCollider>(); Gizmos.color = Color.black; Gizmos.matrix = relic.transform.localToWorldMatrix; Gizmos.DrawWireCube(Vector3.zero, collider.size); }
void AddRelic(Relic _relicToAdd_) { if (!currentRelics.Contains(_relicToAdd_)) { currentRelics.Add(_relicToAdd_); if (_relicToAdd_.GetComponent <RelicMod_Stat>()) { _relicToAdd_.ActivateRelic(this.transform); } } }