Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to access position property with Unity events

Discussion in 'Scripting' started by AnalogUniverse, Jan 9, 2019.

  1. AnalogUniverse

    AnalogUniverse

    Joined:
    Aug 10, 2018
    Posts:
    64
    Hi all Im creating a tweening class how do I access the transforms position, rotate or scale properties with a Unity event , I have a public UnityEvent in my Inspector of my tween script ,but under function -> transform none of these properties are available for selection, how do I access them ? ideally being able to pass in value when I invoke them.

    Thanks