Game Instance
Last updated
Last updated
1. characterData
(Type: CharacterData[]
)
Stores an array of character data scriptable objects. Each CharacterData
contains the attributes, stats, visuals, and other information needed to represent a character in your game.
2. iconItems
(Type: IconItem[]
)
Holds multiple icon item scriptable objects used across different UI elements.
3. frameItems
(Type: FrameItem[]
)
Specifically for storing frame-themed assets. These frames can be used in player profile pictures, character portraits, or UI decorations.
4. inventoryItems
(Type: InventoryItem[]
)
Contains a list of items that the player can equip to increase their stats.
5. characterTypes
(Type: CharacterTypeData[]
)
Defines different character types (e.g., elements or classes) along with their respective strengths and weaknesses. This is crucial for elemental-based damage calculations or class-based interactions.
6. mapInfoData
(Type: MapInfoData[]
)
Holds information about various maps or levels in your game, including environment settings and layout details.
7. questData
(Type: QuestItem[]
)
Manages all the quests available in your game. Each quest can specify objectives, rewards, and storyline text.
8. couponData
(Type: CouponItem[]
)
Stores data for redeemable coupons (promo codes, event codes, etc.) that grant in-game rewards.
9. characterEntity
(Type: CharacterEntity
)
References the main character controller or entity in the scene, responsible for movement, stats in-game, animations, and input actions.
10. accountLevels
(Type: AccountLevel
)
Encapsulates account-level progression settings, including the maximum level, the required EXP range, and the calculation method for leveling.
11. characterMastery
(Type: CharacterMastery
)
Defines how characters progress in mastery ranks, containing the maximum mastery level, initial/final EXP parameters, and a calculation method.
12. masteryLevels
(Type: CharacterMasteryLevel[]
)
An array describing each mastery level in more detail, including a name, translations, and an icon for visual representation.
13. advantageDamageIncrease
(Type: float
)
Determines the percentage increase in damage when an attacker’s element has an advantage over the defender’s element.
14. weaknessDamageReduction
(Type: float
)
Determines the percentage reduction in damage when an attacker’s element is disadvantaged compared to the defender’s.
15. platformType
(Type: PlatformType
)
Indicates the current platform (PC or Mobile). Used to decide which UI or control scheme to display.
16. mobileGameplay
(Type: UIGameplay
)
Holds a reference to the UI prefab optimized for mobile devices, typically including touch-friendly controls and a layout suited for smaller screens.
17. desktopGameplay
(Type: UIGameplay
)
Holds a reference to the UI prefab designed for desktop play, which may include keyboard/mouse prompts or higher-resolution UI elements.