
1.实现挥动锤子功能 (1.有一个挥动过程(DoTween) (2.判定随着锤子挥动动画进行 (3.挥动起始锤子显现 (4.挥动结束锤子消失 (5.CD之内无法再次挥动(不作反应 (6.挥动过程只能进行UI操作 (7.目前判定范围用sprite表示 (8.只有挥动动画时间内有攻击判定 2.引入Odin插件
55 lines
2.4 KiB
C#
55 lines
2.4 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
// ...............................................................
|
|
// ...............................................................
|
|
// ..............................................\@@].............
|
|
// ...............................................@@@@\...........
|
|
// ...............................................,@@@@@`.........
|
|
// ................................................=@@@@@\........
|
|
// .................................................=@@@@@\.......
|
|
// ..................................................\@@@@@\......
|
|
// ...................................................@@@@@@@.....
|
|
// ...................................................,@@@@@@^....
|
|
// ....................................................=@@@@@@....
|
|
// .....................................................@@@@@@^...
|
|
// .....................................................=@@@@@@...
|
|
// ......................................................@@@@@@`..
|
|
// ......................................................@@@@@@^..
|
|
// ......................................................@@@@@@^..
|
|
// ......................................................@@@@@@^..
|
|
// ......................................................@@@@@@^..
|
|
// ..........................,@@@\......................=@@@@@@...
|
|
// ...................../\,]@@@@@@\.....................@@@@@@/...
|
|
// ................../@@@@@@@@@@@@@@.................../@@@@@@`...
|
|
// ................,@@@@@@@,@@@@@@@@@\................@@@@@@@^....
|
|
// .............,O@@@@@@@^...\@@@@@@@@@\............/@@@@@@@/.....
|
|
// ..........,/@@@@@@@/[......\@@@@@@@@@@@]......,@@@@@@@@@/......
|
|
// ......../@@@@@@@@/...........@@@@@@@@@@@@@@@@@@@@@@@@@@/.......
|
|
// .....,O@@@@@@@@/..............,@@@@@@@@@@@@@@@@@@@@@@/.........
|
|
// ....=@@@@@@@@/..................,\@@@@@@@@@@@@@@@@@/...........
|
|
// ....@@@O@@@/.......................,\@@@@@@@@@@@@`.............
|
|
// ....,@@@@/...............................[[[...................
|
|
// ......[`.......................................................
|
|
// ...............................................................
|
|
// ...............................................................
|
|
|
|
public class Sickle : MonoBehaviour
|
|
{
|
|
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
|
|
|
|
}
|