class MAGES::PreviewObject

Overview

A component that warns the user that they are in preview mode. More…

class PreviewObject: public MonoBehaviour
{
public:
    // properties

    string Text;

    // methods

    PreviewObject Description(string text);
    PreviewObject Follow(GameObject otherGameObject);
};

Detailed Documentation

A component that warns the user that they are in preview mode.

Properties

string Text

Gets the text to display.

Methods

PreviewObject Description(string text)

Sets the text to display.

Parameters:

text

The text.

Returns:

Self.

PreviewObject Follow(GameObject otherGameObject)

Sets the object to follow.

Parameters:

otherGameObject

The game object to follow.

Returns:

Self.