// Collision/outline // this needs to be moved to object mesh idk wait is this the snapcolliders? public MeshOutline GetMeshOutline() { if (outlineMaterial == null) { outlineMaterial = Resources.Load <Material>(ResourcePathConstants.OutlineSnapColliderMaterial) as Material; } if (meshOutline == null) { meshOutline = gameObject.AddComponent(typeof(MeshOutline)) as MeshOutline; meshOutline.OutlineMaterial = outlineMaterial; } return(meshOutline); }
private void Awake() { outline = GetComponent <MeshOutline>(); outline.enabled = false; }
void Awake() { meshOutline = GetComponent <MeshOutline>(); particleSystemDummyObject = transform.GetChild(0).gameObject; LoggingManager.instance.AddLogColumn(trashcanCol, ""); }