mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-17 00:44:49 +01:00
25 lines
376 B
C#
25 lines
376 B
C#
using UnityEngine;
|
|
|
|
namespace MoleMole
|
|
{
|
|
public class MonoBronya : BaseMonoAvatar
|
|
{
|
|
public override void Awake()
|
|
{
|
|
base.Awake();
|
|
}
|
|
|
|
public void SetMCVisible(bool visible)
|
|
{
|
|
Renderer[] array = renderers;
|
|
foreach (Renderer renderer in array)
|
|
{
|
|
if (renderer.gameObject.name.StartsWith("MC"))
|
|
{
|
|
renderer.enabled = visible;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|