API Docs for:
Show:

Component_Container Class

Module: gs

A container component allows an object to have sub-objects.

Item Index

Properties

Methods

setVisible

(
  • visible
)

Sets the visibility of all sub objects.

Parameters:

  • visible Boolean
    • The new visibility.

sort_

(
  • a
  • b
)

Sorts the sub-objects by order-index.

Parameters:

  • a gs.Object_Base

    Object A

  • b gs.Object_Base

    Object B

update

()

Updates all sub-objects and sorts them if necessary. It also removes disposed objects from the list of sub-objects.

Properties

disposeBehavior

Unknown

The behavior how the container deals with disposed game objects.

Default: gs.ContainerDisposeBehavior.REMOVE