Commit d724ff8e authored by Tania Rubach Holst's avatar Tania Rubach Holst
Browse files

chore: bugfix

parent fa271c2f
......@@ -4,12 +4,11 @@ using UnityEngine;
public class Gizmode : MonoBehaviour
{
private List<GameObject> _axes;
private List<GameObject> _axes = new List<GameObject>();
// Start is called before the first frame update
void Start()
{
_axes = new List<GameObject>();
foreach (Transform child in transform)
{
_axes.Add(child.gameObject);
......
......@@ -7,17 +7,13 @@ using Photon.Pun;
public class Selector : MonoBehaviourPunCallbacks
{
private GizmoConstraints _gizmo;
private List<Collider> _colliders;
private List<Collider> _colliders = new List<Collider>();
private bool _gizmo_time;
private bool _lock;
// Start is called before the first frame update
void Start()
{
if (photonView.IsMine)
{
_colliders = new List<Collider>();
}
}
private void OnTriggerEnter(Collider other)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment