Roman 1c7a7ddf1e 任务:搭建场景3
1.搭建完了场景3,等待补充动画和相关演出CG

建议:
(1.场景3的前排树的动画很怪,美术看看要不要调整
(2.多张合一张的逐帧动画注意分割像素割齐,不要一个宽100一个宽110这样,保证每一个单元的分辨率一样

可以摸鱼吗😿
2022-03-25 22:07:53 +08:00

29 lines
713 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Sirenix.OdinInspector;
/// <summary>
/// 绳结类,继承自可交互物体
/// </summary>
public class Kont : Interactable
{
/// <summary>
/// 自身绳结类型
/// </summary>
[EnumPaging][Header("自身绳结类型")]
public KnotMediator.KnotType type;
public override void OnCall()
{
// 如果绳结类型为空,则报错
if (type == KnotMediator.KnotType.None)
{
Debug.LogError("绳结类型为空,请设置绳结类型");
return;
}
//切换记录的绳结类型
KnotMediator.Instance.RecordKnotType(type);
}
}