IValidclass

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

object→IValid
Namespace
Sandbox
Assembly
Sandbox.System
Declaration
public abstract interface Sandbox.IValid

Properties1

Showing 1 properties

public virtual bool Sandbox.IValid.IsValid { get; set; }PUBLICVIRTUALGETSET

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.

Returns:bool—

On this page