public static function IsFalse(condition:
bool):
void;
public static void IsFalse(bool condition);
public static function IsFalse(condition:
bool,
message: string):
void;
public static void IsFalse(bool condition,
string message);
パラメーター
説明
false となる条件のアサート
public class AssertionExampleClass : MonoBehaviour {
GameObject go;
void Update () {
//Make sure the Game Object is never in active state
Assert.IsFalse(go.activeSelf);
}
}