// Start is called before the first frame update void Start() { m_cMeshObj = this.gameObject.transform.parent.GetChild(1) .gameObject.transform.GetChild(0).gameObject.transform.GetChild(1).gameObject; m_eLeverSwitchState = ELeverSwitchState.ActiveCorrect; m_bActivation = false; }
public void ChangeState(ELeverSwitchState _eLeverSwitchState) { m_eLeverSwitchState = _eLeverSwitchState; }