Content-Length: 18457 | pFad | https://docs.unity3d.com/6000.5/Documentation/ScriptReference/Object-operator_ne.html
Compares if two objects refer to a different object.
using UnityEngine;
public class Example : MonoBehaviour { Transform target; void Update() { // the target object does not refer to the same object as our transform if (target != transform) { print("Another object"); } } }
Fetched URL: https://docs.unity3d.com/6000.5/Documentation/ScriptReference/Object-operator_ne.html
Alternative Proxies: