
1.搭建地藏测试场景 (1.放置单向平台 (2.限制摄像机范围 (3.设置相机跟踪 (4.放置图片素材 2.编写地藏boss逻辑 (1.继承自Enemy(内含基本的变量和事件) (2.当玩家进入戒备范围,startContinue攻击功能 3.创建塞钱箱脚本
15 lines
269 B
C#
15 lines
269 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
/// <summary>
|
|
/// 塞钱箱类
|
|
/// </summary>
|
|
public class MoneyBox : MonoBehaviour
|
|
{
|
|
/// <summary>
|
|
/// 箱子里有钱吗?
|
|
/// </summary>
|
|
public bool hasMoney = false;
|
|
}
|