Set the scale of an object by a Vector3 in a given amount of time.
Time Based #
This is a Time-Based block (takes time to execute and holds the code sequence following it until it finishes executing).
This block has 4 Inputs:
- Sequential Input.
- GameObject: The object to set its scale. If connected to a game object it overrides the game object you are writing the code inside. If not, by default, it is the object you are writing code inside.
- Vector3: The target scale.
- Time: The time taken to scale up or down. If connected to an Integer or Float variable it overrides the value of the Time.
This block has only one Sequential Output.