Exemple #1
0
    void HandleCursorSprite()
    {
        switch (mode)
        {
        case MouseMode.Normal:
            Cursor.SetCursor(normalCursor, Vector2.zero, CursorMode.Auto);

            break;

        case MouseMode.LockOn:
            Cursor.SetCursor(lockCursor, Vector2.zero, CursorMode.Auto);
            indicator.ShowCircle(lockOnSkill);
            break;

        case MouseMode.Direction:
            Cursor.SetCursor(lockCursor, Vector2.zero, CursorMode.Auto);
            indicator.ShowCircle(directionSkill);
            break;

        default:
            break;
        }
    }
Exemple #2
0
 public void ShowCircle()
 {
     indicator.ShowCircle(skill);
 }