C# Class Tutorial.Cursor

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: tommai78101/Multiplier

Méthodes publiques

Свойство Type Description
buttonPressedElapsedTime float
cursorGroup UnityEngine.CanvasGroup
endingPosition UnityEngine.Vector3
icon CursorButtonIcon
isAppearing bool
isButtonHeld bool
isButtonPressed bool
isPanning bool
panningElapsedTime float
rectTransform UnityEngine.RectTransform
startingPosition UnityEngine.Vector3

Méthodes publiques

Méthode Description
Appear ( ) : void
Disappear ( ) : void
DragSelectionBox ( Camera main, CursorPanGroup group, CursorButton button, TutorialAIManager manager, float delayTime, string methodName ) : void
OnDrawGizmos ( ) : void
OnDrawGizmosSelected ( ) : void
PanCursor ( CursorPanGroup group, CursorButton button ) : bool

True if the cursor is already panning, and I do not want to disturb the panning in progress. False if the cursor has finished panning, and there's nothing else to do.

PanCursor ( Vector3 start, Vector3 end ) : bool

True if the cursor is already panning, and I do not want to disturb the panning in progress. False if the cursor has finished panning, and there's nothing else to do.

PanCursorWithAction ( CursorPanGroup group, CursorButton button, TutorialAIManager manager, float delayTime, string methodName ) : bool
PanCursorWithHeldAction ( CursorPanGroup group, CursorButton button, TutorialAIManager manager, float delayTime, string methodName, bool heldFlag ) : bool
Start ( ) : void
Update ( ) : void

Private Methods

Méthode Description
CursorClickAnimation ( ) : void
CursorDragAnimation ( ) : void
HeldButtonRelease ( ) : void

Method Details

Appear() public méthode

public Appear ( ) : void
Résultat void

Disappear() public méthode

public Disappear ( ) : void
Résultat void

DragSelectionBox() public méthode

public DragSelectionBox ( Camera main, CursorPanGroup group, CursorButton button, TutorialAIManager manager, float delayTime, string methodName ) : void
main UnityEngine.Camera
group CursorPanGroup
button CursorButton
manager TutorialAIManager
delayTime float
methodName string
Résultat void

OnDrawGizmos() public méthode

public OnDrawGizmos ( ) : void
Résultat void

OnDrawGizmosSelected() public méthode

public OnDrawGizmosSelected ( ) : void
Résultat void

PanCursor() public méthode

True if the cursor is already panning, and I do not want to disturb the panning in progress. False if the cursor has finished panning, and there's nothing else to do.
public PanCursor ( CursorPanGroup group, CursorButton button ) : bool
group CursorPanGroup
button CursorButton
Résultat bool

PanCursor() public méthode

True if the cursor is already panning, and I do not want to disturb the panning in progress. False if the cursor has finished panning, and there's nothing else to do.
public PanCursor ( Vector3 start, Vector3 end ) : bool
start UnityEngine.Vector3 Vector3 position to indicate where the cursor begins the panning animation.
end UnityEngine.Vector3 Vector3 position to indicate where the cursor ends in the panning animation.
Résultat bool

PanCursorWithAction() public méthode

public PanCursorWithAction ( CursorPanGroup group, CursorButton button, TutorialAIManager manager, float delayTime, string methodName ) : bool
group CursorPanGroup
button CursorButton
manager TutorialAIManager
delayTime float
methodName string
Résultat bool

PanCursorWithHeldAction() public méthode

public PanCursorWithHeldAction ( CursorPanGroup group, CursorButton button, TutorialAIManager manager, float delayTime, string methodName, bool heldFlag ) : bool
group CursorPanGroup
button CursorButton
manager TutorialAIManager
delayTime float
methodName string
heldFlag bool
Résultat bool

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

buttonPressedElapsedTime public_oe property

public float buttonPressedElapsedTime
Résultat float

cursorGroup public_oe property

public CanvasGroup,UnityEngine cursorGroup
Résultat UnityEngine.CanvasGroup

endingPosition public_oe property

public Vector3,UnityEngine endingPosition
Résultat UnityEngine.Vector3

icon public_oe property

public CursorButtonIcon,Tutorial icon
Résultat CursorButtonIcon

isAppearing public_oe property

public bool isAppearing
Résultat bool

isButtonHeld public_oe property

public bool isButtonHeld
Résultat bool

isButtonPressed public_oe property

public bool isButtonPressed
Résultat bool

isPanning public_oe property

public bool isPanning
Résultat bool

panningElapsedTime public_oe property

public float panningElapsedTime
Résultat float

rectTransform public_oe property

public RectTransform,UnityEngine rectTransform
Résultat UnityEngine.RectTransform

startingPosition public_oe property

public Vector3,UnityEngine startingPosition
Résultat UnityEngine.Vector3