Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


implicit operator PropertyName

Converts the string passed into a PropertyName. Additional Resources: PropertyName(string).
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Operator
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

implicit operator PropertyName(PropertyNam)

Converts the
string
passed into a PropertyName. Additional Resources: PropertyName(string).
public static implicit operator PropertyName(string name)

Parameters

name

Returns

Type

Description

PropertyName

implicit operator PropertyName(PropertyNam)

Converts the
int
passed into a PropertyName. This
int
will be used as the internal ID for the converted PropertyName.
public static implicit operator PropertyName(int id)

Parameters

id

Returns

Type

Description

PropertyName