Neuro-VISOR  0.2.0
Visualize and interact with computational simulations using a virtual reality interface
C2M2.Utils.MeshRenderChild Class Reference

Only allow this MeshRenderer (and collider) to be enabled if a parent's is More...

Inherits MonoBehaviour.

Public Attributes

MeshRenderer parent = null
 
Collider optionalCollider = null
 

Private Member Functions

void Awake ()
 
void Update ()
 

Private Attributes

MeshRenderer mr = null
 

Detailed Description

Only allow this MeshRenderer (and collider) to be enabled if a parent's is

It is useful to allow this gameobject to remain enabled while not allowing it to be interactable.

Member Function Documentation

◆ Awake()

void C2M2.Utils.MeshRenderChild.Awake ( )
private

◆ Update()

void C2M2.Utils.MeshRenderChild.Update ( )
private

Member Data Documentation

◆ mr

MeshRenderer C2M2.Utils.MeshRenderChild.mr = null
private

◆ optionalCollider

Collider C2M2.Utils.MeshRenderChild.optionalCollider = null

◆ parent

MeshRenderer C2M2.Utils.MeshRenderChild.parent = null

The documentation for this class was generated from the following file: