
1.搭建完了场景3,等待补充动画和相关演出CG
建议:
(1.场景3的前排树的动画很怪,美术看看要不要调整
(2.多张合一张的逐帧动画注意分割像素割齐,不要一个宽100一个宽110这样,保证每一个单元的分辨率一样
可以摸鱼吗😿
40 lines
1019 B
C#
40 lines
1019 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using Sirenix.OdinInspector;
|
|
|
|
/// <summary>
|
|
/// 绳结中介者,负责交流皇帝、玩家、绳结的信息
|
|
/// </summary>
|
|
public class KnotMediator : UnitySingleton<KnotMediator>
|
|
{
|
|
public enum KnotType
|
|
{
|
|
None,
|
|
带毛刺的绳结,
|
|
编成麻花的绳结,
|
|
有鸡毛的绳结
|
|
}
|
|
|
|
/// <summary>
|
|
/// 当前记录的绳结类型
|
|
/// </summary>
|
|
[Header("当前记录的绳结类型")][SerializeField][ReadOnly][EnumPaging]
|
|
private KnotType currentKnotType;
|
|
|
|
public void RecordKnotType(KnotType knotType)
|
|
{
|
|
currentKnotType = knotType;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 有黄帝调用,检查当前记录的和需要的绳结类型是否一致
|
|
/// </summary>
|
|
/// <param name="knotType">黄帝需要的绳结类型</param>
|
|
/// <returns></returns>
|
|
public bool CheckKnotType(KnotType knotType)
|
|
{
|
|
return knotType == currentKnotType;
|
|
}
|
|
}
|