Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator ==(PropertyName, PropertyName)

Determines whether two specified PropertyName have the same string value. Because two PropertyNames initialized with the same string value always have the same name index, we can simply perform a comparison of two ints to find out if the string value equals.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Operator
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool operator ==(PropertyName lhs, PropertyName rhs)

Parameters

Returns

Type

Description

bool