private void OnDrawGizmos() { if (transform.gameObject.GetComponent <ShowCollider>() == null) { colliderVisuals = transform.gameObject.AddComponent <ShowCollider>(); } }
void Start() { showcollider = GetComponent <ShowCollider> (); }
private void OnDrawGizmos() { if (transform.gameObject.GetComponent <ShowCollider>() == null) { colliderVisuals = transform.gameObject.AddComponent <ShowCollider>(); } }
void Start() { showcollider = GetComponent <ShowCollider> (); }