Table of Contents

Class ObjectReference

Namespace
nadena.dev.ndmf

The ObjectReference class gives you a way to reference an object that may have been moved or destroyed since its initial creation.

public sealed class ObjectReference
Inheritance
ObjectReference
Inherited Members

Properties

Object

public UnityEngine.Object Object { get; }

Property Value

Object

Path

public string Path { get; }

Property Value

string

Type

public Type Type { get; }

Property Value

Type

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

TryResolve(ErrorReport, out Object)

public bool TryResolve(ErrorReport report, out UnityEngine.Object obj)

Parameters

report ErrorReport
obj Object

Returns

bool