![]() |
Init(args)
Scripting Reference
|
◆ ValidateArguments()
Method that can be overridden and used to validate the initialization argument that was received by this object. You can use the ThrowIfNull method to throw an ArgumentNullException if the argument is null. {
ThrowIfNull(inputManager);
ThrowIfNull(camera);
}
virtual void ValidateArguments(TFirstArgument firstArgument, TSecondArgument secondArgument) Method that can be overridden and used to validate the initialization argument that was received by t... Definition StateMachineBehaviourT2.cs:208 You can use the AssertNotNull method to log an assertion to the Console if the argument is null. {
AssertNotNull(inputManager);
AssertNotNull(camera);
}
Calls to this method are ignored in non-development builds.
|