GameObject.this

Allows you to create an object with a set list of components you already have.

  1. this()
  2. this(Component[] newComponents...)
    class GameObject
    this
    (
    Component[] newComponents...
    )

Parameters

newComponents
Type: Component[]

The list of components to add.

Meta