Source Academy Modules
    Preparing search index...

    Function set_custom_prop

    • Set a custom property with name and value on a GameObject

      Parameters

      • gameObjectIdentifier: GameObjectIdentifier

        The identifier for the GameObject that you want to set the custom property on.

      • propName: string

        The name (a string) of the custom property

      • value: any

        The value of the custom property, can be anything you want

      Returns void