Third Person Cover Shooter  1.6
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
CoverShooter.StrategyInput Class Reference

Allows to perform AIActions based on the player input. More...

Inheritance diagram for CoverShooter.StrategyInput:

Public Member Functions

void GiveCommand (AIAction action)
 UI will ask the player to assign the target for the given action. More...
 

Public Attributes

int Side = 1
 Actors with the same side will be chosen as controllable targets. More...
 
Actor Target
 Target object that receives commands. More...
 
GameObject MarkerPrefab
 Target marker that projects a texture. More...
 
GameObject SpherePrefab
 Target marker that draws a target sphere. More...
 
GameObject Disabler
 Input is ignored when a disabler is active. More...
 
Color PickColor = Color.yellow
 Color used to highlight pickable actors. More...
 
Color SelectColor = Color.white
 Color used to highlight selected actors. More...
 
float SphereColorOpacity = 0.3f
 Transparency of the target sphere previews. More...
 

Detailed Description

Allows to perform AIActions based on the player input.

Member Function Documentation

◆ GiveCommand()

void CoverShooter.StrategyInput.GiveCommand ( AIAction  action)

UI will ask the player to assign the target for the given action.

Member Data Documentation

◆ Disabler

GameObject CoverShooter.StrategyInput.Disabler

Input is ignored when a disabler is active.

◆ MarkerPrefab

GameObject CoverShooter.StrategyInput.MarkerPrefab

Target marker that projects a texture.

◆ PickColor

Color CoverShooter.StrategyInput.PickColor = Color.yellow

Color used to highlight pickable actors.

◆ SelectColor

Color CoverShooter.StrategyInput.SelectColor = Color.white

Color used to highlight selected actors.

◆ Side

int CoverShooter.StrategyInput.Side = 1

Actors with the same side will be chosen as controllable targets.

◆ SphereColorOpacity

float CoverShooter.StrategyInput.SphereColorOpacity = 0.3f

Transparency of the target sphere previews.

◆ SpherePrefab

GameObject CoverShooter.StrategyInput.SpherePrefab

Target marker that draws a target sphere.

◆ Target

Actor CoverShooter.StrategyInput.Target

Target object that receives commands.


The documentation for this class was generated from the following file: