Api Sandbox IValid
interface

IValid

public interface IValid

Interface for objects that can become invalid over time, such as references to deleted game objects or disposed resources.

Properties

Name Type Description
IsValid virtual Boolean Returns true if this object is still valid and can be safely accessed. When false, accessing the object's properties or methods may throw exceptions.
Assembly: Sandbox.System Namespace: Sandbox Full Name: Sandbox.IValid