C# Class Interactive.Detail.Totem

Inheritance: UnityEngine.MonoBehaviour, ITotem
Show file Open project: juliancruz87/madbricks Class Usage Examples

Protected Properties

Property Type Description
myAnimator UnityEngine.Animator
myTransform Transform
positionToGo int
totem TotemInstantiatorConfig

Public Methods

Method Description
GetPathPositions ( ) : Vector3[]
GoToSecondaryPositionToGo ( ) : void
SetHighlight ( bool IsActive ) : void
SetUp ( TotemInstantiatorConfig totem, List validStartPoints ) : void
Stop ( ) : void

Protected Methods

Method Description
Awake ( ) : void
EndGame ( string warning ) : void
GetReachedToPoint ( Path.Node, node ) : void
GoToNode ( Path.Node, node, float speed ) : void
GoalReachedNode ( Path.Node, node ) : void
Move ( ) : void
Update ( ) : void

Private Methods

Method Description
OnCrashWithOtherCollider ( GameObject collidedTotem ) : void
OnDestroy ( ) : void
OnStartedGame ( ) : void
TagErrorTotem ( GameObject totem ) : void

Method Details

Awake() protected method

protected Awake ( ) : void
return void

EndGame() protected method

protected EndGame ( string warning ) : void
warning string
return void

GetPathPositions() public abstract method

public abstract GetPathPositions ( ) : Vector3[]
return Vector3[]

GetReachedToPoint() protected abstract method

protected abstract GetReachedToPoint ( Path.Node, node ) : void
node Path.Node,
return void

GoToNode() protected method

protected GoToNode ( Path.Node, node, float speed ) : void
node Path.Node,
speed float
return void

GoToSecondaryPositionToGo() public method

public GoToSecondaryPositionToGo ( ) : void
return void

GoalReachedNode() protected method

protected GoalReachedNode ( Path.Node, node ) : void
node Path.Node,
return void

Move() protected abstract method

protected abstract Move ( ) : void
return void

SetHighlight() public method

public SetHighlight ( bool IsActive ) : void
IsActive bool
return void

SetUp() public method

public SetUp ( TotemInstantiatorConfig totem, List validStartPoints ) : void
totem TotemInstantiatorConfig
validStartPoints List
return void

Stop() public method

public Stop ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

Property Details

myAnimator protected property

protected Animator,UnityEngine myAnimator
return UnityEngine.Animator

myTransform protected property

protected Transform myTransform
return Transform

positionToGo protected property

protected int positionToGo
return int

totem protected property

protected TotemInstantiatorConfig,Interactive.Detail totem
return TotemInstantiatorConfig