Skip to content

Object bindings

SDraw edited this page Jun 14, 2023 · 5 revisions

Refer to Unity's Object documentation for properties and methods description.

Properties

  • name: get/set, string

Methods

  • int GetInstanceID()
  • bool Equals()

Static methods

  • bool Destroy(): only non-internal objects can be destroyed
  • object Instantiate(object obj)

Operators

  • ==: checks if two objects are same

Utility functions

  • bool IsObject(object obj): checks if value is type of Object