MotorsOn プロパティー
解説
カレントロボットのモーターのオンオフを設定、または状態を返します。
書式
Property MotorsOn As Boolean
デフォルト値
False
戻り値
モーターがオンのときはTrue、オフのときはFalse
参照
PowerHigh プロパティー, Reset メソッド, Robot プロパティー
MotorsOn使用例
VB 例:
If Not m_spel.MotorsOn Then
m_spel.MotorsOn = True
End If
C# 例:
if (\!m_spel.MotorsOn)
m_spel.MotorsOn = true;