Skip to content

Components

Xeltica edited this page Jun 25, 2018 · 3 revisions

Wyte Engine provides lots of components for unity. You attach them to GameObjects.

Base Class

The base class is a derived class of all Wyte Engine components.

  • BaseBehaviour
    • All Wyte Engine classs should extend this class.
  • SingletonBaseBehaviour
    • This class extends BaseBehaviour. If your class extend this class, it can exist only one. Then, you can access your component via a static property Instance.

Engine

Engines are important system components for several behaviours of Wyte Engine.

GameMaster

GameMaster is one of system components to start events and manage players and savedatas. It is a bootstrap of Wyte Engine.

EventController

EventController loads novel scripts and run them.

ScreenshotHandler

If you place this component into the scene, you can take a screenshot by pressing F2.

PlayerCamera

PlayerCamera provides APIs to change a camera mode searching player or fixing to any position.

KeyBinding

KeyBinding manages key configs to play and provides APIs.

Manager

Manager classes are components to manage and use resources.

MusicManager

MusicManager manages BGM. You can use any sound formats which is supported by Unity (such as mp3, ogg and mod). You can bind id to the music and can use on scripts.

SfxManagery

SfxManager manages sound fx. Same as MusicManager, you can use any Unity-compatible sounds. You can bind id to the music and can use on scripts.

MapManager

MapManager supports map management and navigating on Wyte Engine.

FlagManager

FlagManager supports flag management for events.

AnimationManager

Animation Manager manages animation datas for Wyte Animation.

NpcManager

NPCManager manages NPCs which is summoned from scripts or maps and provide api to create and destroy NPCs.

Helper

Helpers are classes to support engine.

PixelPerfectCamera

PixelPerfectCamera is a system to make the camera pixel-perfect.

Clone this wiki locally