My Project
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
RadialMenu Class Reference
Inheritance diagram for RadialMenu:

Public Member Functions

void HandleSelectorMovement ()
 
bool IsActive ()
 
bool IsVisible ()
 
bool Click ()
 
void ClearActions ()
 
void Add3DIcon (string caption, GameObject source, GameObject targetForFunc, string func, Tran offset)
 
void Add2DIcon (string caption, Sprite icon, GameObject targetForFunc, string func, Tran offset)
 
void PopulateMenu ()
 
void ActivateMenu ()
 
void DisableMenu ()
 
void SetRingMaterial (Material mat)
 

Static Public Member Functions

static void CreateVisualObject (GameObject source, GameObject target, LayerMask layer, Material mat)
 

Public Attributes

Camera cam
 
Transform ring
 
Transform selector
 
bool is2D = true
 
bool debugMenu = false
 
bool gamePad = false
 
float sensitivty = 7f
 
bool followCursor = false
 
Vector2 menuPositionOffset
 
float selectorTravel = 1f
 
float selectorInitialScale = 0.8f
 
float selectorHighlightScale = 1.2f
 
float startAnimSecs = 0.25f
 
int activeBuffer = 90
 
float angleThreshold = 100f
 
float itemStartDistance = -2f
 
float itemDistanceRadius = 1f
 
float rotationOffset = 0f
 
float stepOffset = 0f
 
float screenEdgeBuffer
 
bool seqentialItemAnimation = false
 
float itemScale = 2.0f
 
float itemHighlightScale = 1.5f
 
float itemAnimationDelay = .1f
 
float itemAnimationTime = .3f
 
iTween.EaseType easeType
 
List< RadialActionsactions
 
Transform actionItemsParent
 
GameObject actionItemPrefab
 
Text mainText
 
Material icon3DMaterial
 
Material icon3DDisabledMaterial
 
float stepAngle
 
GameObject activeTarget
 
int lastClickedTarget
 
bool isAnimating = false
 

Static Public Attributes

static RadialMenu instance
 

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