▼NTanksMP | |
CAudioManager | Handles playback of background music, 2D and 3D one-shot clips during the game. Makes use of the PoolManager for activating 3D AudioSources at desired world positions. |
CBotSpawner | Responsible for spawning AI bots when in offline mode, otherwise gets disabled. |
CBullet | Projectile script for player shots with collision/hit logic. |
CCollectible | Base class for all derived Collectibles (health, shields, etc.) consumed or carried around. Extend this to create highly customized Collectible with specific functionality. |
CCollectibleTeam | Custom Collectible implementation for scene owned (unassigned) or team owned items. E.g. allowing for 'Rambo' pickups, Capture the Flag items etc. |
CCollectibleZone | Component that acts as an area to trigger collection of CollectibleTeam items. E.g. necessary for team bases in Capture The Flag mode. Needs a Collider to trigger. |
CDontDestroyManager | Script that makes child objects non-destroyable on scene changes. Only keeps one instance (the same) across the whole game. |
CEncryptor | Encrypts strings passed in by using a set obfuscation key as well as the unique identifier of the running device. Used for storing in-app purchases. |
CFollowTarget | Camera script for following the player or a different target transform. Extended with ability to hide certain layers (e.g. UI) while in "follow mode". |
CGameManager | Manages game workflow and provides high-level access to networked logic during a game. It manages functions such as team fill, scores and ending a game, but also video ad results. |
CIAPProduct | Describes an in-app purchase product that can be bought by using Unity IAP. Contains several UI elements and logic for selecting/deselecting. |
CIAPProductRestore | Simple script to handle restoring purchases on iOS. Restoring purchases is a requirement by Apple and your app will be rejected if you do not provide it. |
CNetworkDiscoveryCustom | Custom implementation of the NetworkMigrationManager class. Not needed when using Photon Networking. |
CNetworkManagerCustom | Custom implementation of the most Photon callback handlers for network workflows. This script is responsible for connecting to Photon's Cloud, spawning players and handling disconnects. |
CNetworkMigrationManagerCustom | Custom implementation of the migration manager class. Not needed when using Photon Networking. |
CObjectSpawner | Manages network-synced spawning of prefabs, in this case collectibles and powerups. With the respawn time synced on all clients it supports host migration too. |
CParticleColor | Modifies the starting color of a particle system to the color passed in. This is used on the player death particles to match the player's team color. |
CPlayer | Networked player class implementing movement control and shooting. Contains both server and client logic in an authoritative approach. |
CPlayerBot | Implementation of AI bots by overriding methods of the Player class. |
CPool | Child class interacting and managed by the PoolManager. Handles all internal spawning/despawning of active/inactive instances. |
CPoolManager | This class provides networked object pooling functionality and stores all Pool references. Spawning and despawning is handled by calling the corresponding methods, but there are also methods for creating Pools at runtime or destroying all gameobjects in a Pool completely. |
CPoolParticle | When attached to an gameobject containing ParticleSystems, handles automatic despawn after the maximum particle duration. |
CPoolTimeObject | Stores properties used on timed deactivation of instances. |
CPowerupBullet | Custom powerup implementation for changing the player's bullet. |
CPowerupHealth | Custom powerup implementation for adding player health points. |
CPowerupShield | Custom powerup implementation for adding player shield points. |
CPrefsKeys | List of all keys saved on the user's device, be it for settings or selections. |
CTeam | Defines properties of a team. |
CUIBillboard | Orientates the gameobject this script is attached to to always face the camera. |
CUIGame | UI script for all elements, team events and user interactions in the game scene. |
CUIJoystick | Joystick component for controlling player movement and actions using Unity UI events. There can be multiple joysticks on the screen at the same time, implementing different callbacks. |
CUIMain | UI script for all elements, settings and user interactions in the menu scene. |
CUIRestartButton | This script is attached to a runtime-generated gameobject in the game scene, taken over to the intro scene to directly request starting a new multiplayer game. |
CUnityAdsManager | Manager handling the full workflow of showing video ads, reacting to completed/failed video views and resulting events. Implements a custom, percentage based chance for showing ads. Using Unity Ads. |
CUnityAnalyticsManager | Manager fo tracking user actions in-game and sending them to further processing or visualization of events triggered by players, using Unity Analytics. |
CUnityIAPManager | Manager handling the full in-app purchase workflow, granting purchases and catching errors using Unity IAP. |